If you try to print a datastore with a crosstab datawindow (with > 1 page) using this print method the application hangs because of an infinite loop.
Reason is that InsertRow does not work so it will never have more than a row.
Maybe (I've not checked) there could be are other problems:
- So I think there could be a also a problem with composite datawindows.
- How about with DDDWs that need retrieval arguments?
- How about printing of datawindows without a datawindow object? (dynamically created DWs or DSs filled using SetFullState)
So why not use GetFullState and SetFullState to fill the print setup datawindow?