PB 10.5.2, Build 7662

In the RTE control, the datasource has more than one row.

However, if the document does not contain one of the fields that create
multiple rows, I do not want to print multiple documents, just one.

But, if the document itself has more than one page, I want to print all the
pages for the document.

Any ideas?

Ken