April 14, 200520 yr I'm trying to write a script but I am getting an error message that says: "An operator (e.g. +, -, *,...) is expected here." (the ;Get(PageNumber) is highlighted) This is what I am trying to enter into the Specify Calculation dialog box: Purchase Orders::gpage; Get ( PageNumber ) What am I doing wrong? Phil
April 14, 200520 yr "Purchase Orders::gpage; Get ( PageNumber )" I assume you're using the Set Field [ ] script step? Only Get(PageNumber) should be in the calc box. The Purchase Orders::gpage should be put in the Specify Target Field 'Specify' location.
April 14, 200520 yr Author Thanks, that makes sense on how to create the script. Unfortunately, I am not getting the results I need. The script gives me the total number of records that exists. What I want is the number of pages that are going to print from my form layout. Could be 1-3 pages depending on how many items I have entered in the repeating fields. Here is the script: Enter preview mode[] Go to layout [the one with no of pages needed] Go to record/request/page [ last] Set field [
Create an account or sign in to comment