>Hi All
>
>I have a requirement that I need to have an optional page break on a data group. How would I do
>this?
You can do it following way
- In the calling ptogram create variable that'll control page break on a data group, for example llGroupBreak = .F.
- Create another data group with the same data grouping and 'Start Each Group On a New Page' checked and move it up before your existing group.
- Change Group Expression for new group to
IIF(llGroupBreak, < Existing Group Expression >, SPACE(1))
--sb--