Do you have any variable types that are defined in the report? Or
anywhere else within the WHILE loop?
e.g. On Before Generate:
SET VAR vordertaxamt CURR = 0
Any definition of a variable's _datatype_ must be outside a WHILE loop.
Setting a variable's value is ok within a WHILE loop, e.g. SET VAR
vordertaxamt = 0
Doug
On 7/8/2016 4:23 PM, Jim Belisle wrote:
We use RBASE 9.5.
I have a report in which I only want certain information to print
under certain conditions.
I put the EEP in the on before generate EEP of the band.
The code is checking for taxable information and misc charges information.
Here is the code.
IF vordertaxamt <= 0 OR vordertaxamt IS NULL THEN
PROPERTY comp_tchg VISIBLE 'FALSE'
ELSE
PROPERTY comp_tchg VISIBLE 'TRUE'
ENDIF
IF vmiscamount <= 0 OR vmiscamount IS NULL THEN
PROPERTY comp_mchg VISIBLE 'FALSE'
ELSE
PROPERTY comp_mchg VISIBLE 'TRUE'
ENDIF
RETURN
This reports prints within a WHILE loop based on a cursor that brings
up each invoice.
If the fields I want to show come up first then the code works.
If the information happens to be in an invoice later in the WHILE loop
then it does not show.
What am I doing wrong?
James Belisle
*Making Information Systems People Friendly Since 1990*
cid:[email protected]
--
You received this message because you are subscribed to the Google
Groups "RBASE-L" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to [email protected]
<mailto:[email protected]>.
For more options, visit https://groups.google.com/d/optout.
---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
--
You received this message because you are subscribed to the Google Groups
"RBASE-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.