Manage Learn to apply best practices and optimize your operations.

Page breaks in tables

Ever had a task of printing a tabbed table with each tab in a different page? As you know, there is no way of adding page break in table. Say there is a two tabbed table with the tab headings of Home and Product. Create two forms. Form one should have all the data (labels and fields) that the first tab has. Be sure that the field names and datatypes in the form are the same as that of the tab. Similarly, create form two that has all the data of tab two. Before issuing a print command from script(call uidoc.print command), put this line doc.form=first form name(of course you would use this statement before this set doc=uidoc.document)and before issuing the second print command use doc.form=second form name.

Note: you can put it in a button

dim uidoc as notesuidocument
dim doc as notesdocument
dim wkspc as new notesuiworkspace
set uidoc=wkspc.currentdocument
set doc=uidoc.document

'** start printing'''
doc.form=fist form name
call uidoc.print
doc.form=second form name
call uidoc.print
call uidoc.close

Dig Deeper on Domino Resources - Part 7

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.




  • iSeries tutorials's tutorials provide in-depth information on the iSeries. Our iSeries tutorials address areas you need to know about...

  • V6R1 upgrade planning checklist

    When upgrading to V6R1, make sure your software will be supported, your programs will function and the correct PTFs have been ...

  • Connecting multiple iSeries systems through DDM

    Working with databases over multiple iSeries systems can be simple when remotely connecting logical partitions with distributed ...