Question:  are your variables defined within the report itself, or outside of 
the report in the while loop?
If the latter, make sure your whileopt is off.  

Karen

 

 

-----Original Message-----
From: Jim Belisle <[email protected]>
To: rbase-l <[email protected]>
Sent: Fri, Jul 8, 2016 4:23 pm
Subject: [RBASE-L] - on before generate EEP



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

 

-- 
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.


-- 
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.

Reply via email to