Thanks for the scripts. Now preview mode shows all of the records in the table in 6 pages. There are only 3 and they are all 2 pages long. It only prints the 1 record but the page numbers show 1of6 and 2of6. I had a little trouble with the sort in the "print My Report" step. In order for it to show "Sort [Restore, No dialog]" I have to select a field. Is that right.
As well, What does this do """"? in the "print Setup" script under Set Field. It won't let me enter that calculation. Filemaker automatically changes it look like this """".
What does the "Freeze Window" script step do?
Here is my scripting I must be doing something wrong.
"Set Page of #" script
Enter Preview Mode []
Go to Record/Request/Page [Last]
Set Field ["TotalPages", "Get(PageNumber)"]
Go to Record/Request/Page [First]
"Print Setup - Letter, Portrait, Records Being Browsed"
Print Setup [Restore, No dialog]
Perform Script [sub-scripts, "Set Page of #"]
Print [No dialog]
Set Field ["TotalPages", """"]
"Print My Report" script
Freeze Window
Sort [Restore, No dialog]
Go to Layout ["PacconEstimate"]
Perform Script [sub-scripts, "Print Setup - Letter, Portrait, Records Being Browsed"]
Go to Layout [PacconEstimate]