Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Title Band Print When Question
Message
From
14/11/1998 15:08:58
 
 
To
14/11/1998 15:00:20
Jim Doyal
James T. Doyal, Cpa, Pa
Tallahassee, Florida, United States
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00157672
Message ID:
00157675
Views:
18
Hi Jim,
Unless I'm mistaken, the IIF() is what you need. Imbed that puppy in your report definition, testing on the condition that will cause the item to print.

IIF(condition,"print this","")

If condition is true, "print this" is printed. If not, "" is printed. The blank line will be removed as well if your report setup removes blank lines.

HTH,
Bill Simpson

>I have a client which requires a report with a summary band. No problem to here, right!
>
>Unfortunately, it's mandatory that certain lines and fields print only conditionally, and the line must be removed if it is empty, just like the conditional print when in a group footer or detail band.
>
>I've tried fpw2.6, vfp 3.0,5.0 and 6.0 and cannot get the summary band to allow me to access the remove line if blank option.
>
>Has anyone been able to get around this in the summary band?
>
>HELP, PLUUUUEEZE!!!!!!!!!1
Previous
Reply
Map
View

Click here to load this message in the networking platform