paperbag1 Posted April 14, 2005 Posted April 14, 2005 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
MoonShadow Posted April 14, 2005 Posted April 14, 2005 "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.
paperbag1 Posted April 14, 2005 Author Posted April 14, 2005 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 [
Recommended Posts
This topic is 7166 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now