In the before generate eep of the report (or before your PRINT command), ask 
the question and set a variable.  Then give all objects in your detail band a 
component id.  In the before generate eep of the Detail Band:

IF varname = 'x' THEN
  PROPERTY <component id> VISIBLE 'FALSE'
ENDIF

If you put your objects in a region, and give the region the component id, the 
visible property will apply to all the objects.

Dawn

________________________________
From: [email protected] [mailto:[email protected]] On Behalf Of jan johansen
Sent: Thursday, August 26, 2010 2:15 PM
To: RBASE-L Mailing List
Subject: [RBASE-L] - Report detail

Group,

I thought I remember seeing an example of this.
I have a report that has a break header and details.
The user occasionally wants the same report with just
the break header info.

I thought there was a way to query the user in the
on before start section for the type of report and adjust
the report accordingly.

Am I remembering wrong?

Jan


DISCLAIMER: This electronic message together with any attachments is 
confidential. If you are not the intended recipient, do not copy, disclose or 
use the contents in any way. Please also advise us by return e-mail that you 
have received the message and then please destroy. Evergreen Packaging is not 
responsible for any changes made to this message and / or any attachments after 
sending by Evergreen Packaging. We use virus scanning software but exclude all 
liability for viruses or anything similar in this email or any attachment.

Reply via email to