April 13, 200520 yr When printing a form I have the page number inserted. How do you count the total number of pages you are going to print so you can have Page 1 of 3 inserted? Phil
April 13, 200520 yr You need a global [number] field called --lastpagenumber. Then create a script that goes to preview mode of the layout that needs to show the number of pages. Script: Enter preview mode[] Go to layout [the one with no of pages needed] Go to record/request/page [ last] Set field [
April 14, 200520 yr Status{currentpagenumber) has been replaced with Get(PageNumber) in vs. 7. This goes in the Specify calculated result after you've selected the Lastpagenumber field with Set Field []. As indicated, Lastpagenumber is a global field you set with script. "" signifies the Operator which produces a null result. In other words, clears the field. BTW, you mention FORM. If you are on a form layout, you can use Get(FoundCount) to give you the total number because records are pages in Form View. Otherwise, yes, you'll need script to find the last page for reports.
Create an account or sign in to comment