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:40:28
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
28/08/2008 16:36:52
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:
01342816
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
>
>How about a second report header, break expression a UDF that calls _pageno? If the user does NOT want to print on the same page, the UDF can return a constant value.

Actually, no second report header would be required in this case.
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