Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Skip a report band.

Status
Not open for further replies.

dotnik

Programmer
Nov 14, 2003
24
0
0
IT
Good morning,
as I can jump one band?
I must to print a band only if a expression is true.
For example:
if Option1 = .T. I must print summary band.

Very thanks.
Nicola - Ferrandina (Matera) Italy

 
Have you tried to use print when of the objects located at the summary ?

 
Yes,
but there are many object in band therefore I would want to find an other solution.
goodbye
Nicola
 
The default bands have defined (fixed) print events as follows:-

Title Once per report Choose Title/Summary from the Report menu.
Page header Once per page Available by default.
Column header Once per column Choose Page Setup from the File menu and set Column Number greater than 1.
Group header Once per group Choose Data Grouping from the Report menu.
Detail band Once per record Available by default.
Group footer Once per group Choose Data Grouping from the Report menu.
Column footer Once per column Choose Page Setup from the File menu and set Column Number greater than 1.
Page footer Once per page Available by default.
Summary Once per report Choose Title/Summary from the Report menu.
To print items only when a condition occurs you have to use the Print When in each object in the band as CMir is suggesting.

Bob Palmer
The most common solution is H2O!
 
Hi Nicola,

Another way would be to create 2 versions of the report, one with a summary band, one without. Run the appropriate one based on the value of your expression.

Jim
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top