Calvin,
Not so ... Changing the display attributes to show a zero when a value is
unknown does not change the contents of the variable --- just the way it
displays. Same effect as a edit word. ( Suppressing leading zeros for
display purposes does not insert spaces into the internal value of the
variable. )
If you use the variable in a calculation the value is still unknown even
though it will display as a zero. To actually change the internal value of
the variable you have to use the if statement "IIF(old-var = ?,0,old-var)".
Which then negates the reason to change the display value because since the
internal value is a zero the display value will also be a zero.
Makes perfect sense doesn't it ? ... Of course, "Help" wasn't any ...
Todd Anderson
J. Rubin & Co.
-----Original Message-----
From: Calvin Dekker [mailto:calvin@...]
Sent: Wednesday, June 14, 2000 6:44 AM
To: vantage@egroups.com
Subject: Re: [Vantage] Progress Report Builder - Unknown Values
Todd -
You can also double click the field in the report design view and set the
field's property for unknown value to 0. This will bypass the need for IF
statements in the report and may speed things up if there are many
'unknown' values in calculated or aggregate fields.
Calvin
Not so ... Changing the display attributes to show a zero when a value is
unknown does not change the contents of the variable --- just the way it
displays. Same effect as a edit word. ( Suppressing leading zeros for
display purposes does not insert spaces into the internal value of the
variable. )
If you use the variable in a calculation the value is still unknown even
though it will display as a zero. To actually change the internal value of
the variable you have to use the if statement "IIF(old-var = ?,0,old-var)".
Which then negates the reason to change the display value because since the
internal value is a zero the display value will also be a zero.
Makes perfect sense doesn't it ? ... Of course, "Help" wasn't any ...
Todd Anderson
J. Rubin & Co.
-----Original Message-----
From: Calvin Dekker [mailto:calvin@...]
Sent: Wednesday, June 14, 2000 6:44 AM
To: vantage@egroups.com
Subject: Re: [Vantage] Progress Report Builder - Unknown Values
Todd -
You can also double click the field in the report design view and set the
field's property for unknown value to 0. This will bypass the need for IF
statements in the report and may speed things up if there are many
'unknown' values in calculated or aggregate fields.
Calvin