Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Programmatically control Group starts on new page
Message
From
29/08/2008 08:15:14
Erick Miranda
Formata Data Business - Grupo Linx
Contagem, Brazil
 
 
To
28/08/2008 16:12:42
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:
01343020
Views:
24
Hi Larry,

>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

One way:
- Create a public/private variable with boolean value to store user's option (Eg.: pbGroupNewPage).
- Create a report variable (named r_group). And do Value to Store = Iif(pbGroupNewPage = .T., 1, 0) and Calculation Type = Sum And check New Page in Group Starts on.
- Create a group and put r_group in Group on.
Good luck!
Erick
Força Sempre!
Strength Always!
Previous
Reply
Map
View

Click here to load this message in the networking platform