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!