Subject |
Can render problem |
From |
Charlie <trainman@traincity.com> |
Date |
Fri, 27 Nov 2015 17:45:50 -0500 |
Newsgroups |
dbase.getting-started |
Hi... I used can render totaling two fields. (thanks Mervyn).. Here is the code:
function TEXT1_canRender()
this.text = this.parent.textqty1.text() * this.parent.textcost1.text()
return true
function TEXT2_canRender()
this.text = this.parent.textqty1.text() * this.parent.textsell1.text()
return true
They work fine. But now I am trying to total the two made up fields and don't exactly know how. I tried the following for the first:
function TEXT11_canRender()
sum this.parent.text1.text() = this.text
return true
But dbase doesn't like this in that it is asking me to name the file. Is there a way of totaling each made up field? I don't think it is listed in the report total fields.
Thanks...
|
|