Home DADE

Setting a group New Page on Change in code

edited September 2002 in DADE
I'm working with a DADE-based (no external TQuery) report (otherwise this
might have more naturally been posted in "General").

I have set up in the ppReport a dummy group (the third group in
report) that has no fields (no header or footer space allocated in
Design).

I want to be able to control the Group "Print new page on change" from
within code. I'm also creating autosearch stuff so I figure putting this
code in the "OnGetAutoSearch..." method should be a good starting point.

So, how do I set/reset the "print new page on change" flag for a
particular group?

ppReport1.Groups[2].????

Thanks,
EdB

Comments

This discussion has been closed.