Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 7166 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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

Posted

"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.

Posted

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 [

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.