I have a portal whose layout consists of one row per 8.5" x 11" page. (I have the portal set at 25 rows; since the portal will never contain more related records than 25.)
I'd like to have a print button that includes a script that prints ONLY the portal rows that have related records.
I have a field that counts the related records.
If that field equals "6", for instance, is there a script step that sets the page numbers by calculation so that the portal prints pages 1-6?
Any help? THANKS!