Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Programmatically control Group starts on new page
Message
From
28/08/2008 16:39:49
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01342804
Message ID:
01342814
Views:
11
>>>I'd like to give the user an option to print a report with each group on a new page or not. It there a way to control this programmatically?
>>>
>>>Thanks,
>>>Larry Morelli
>>
>>I would say, something with conditional printing, for every element in the group header. The condition would be something like this:
>>
>>
>>llUserWantsToPrint and lnRecordCounter > 1
>>
>>
>>The first variable is controlled by a user choice. The second variable is a report variable that gets reset every time the group expression changes.
>
>This sounds like much better and easier to implement idea than mine.

No, I had mis-read the original requirement, and already corrected my message in the meantime.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform