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

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

Recommended Posts

Posted

Hi Guys,

Please see the script attached, it seems to ignore the inset file part of the script, leaving the field blank (which is a container field).

Any help with this one will be greatly received.

Cheers,

Dan

Posted

Aren't you in Preview mode at that point?

Indeed I am, thanks for pointing out a really stupid mistake lol!

But funny thing is it would still update the cost field, just not insert a file.

Cheers,

Dan

Posted

it would still update the cost field

Set Field[] works directly at data level. Insert... works on layout level - for example, it will fail if the field is not on the layout.

Posted

Other pointers:

1. You do not need the New Request step after you enter find mode. This is used only if you need to do an "OR" search.

2. I don't see the need to enter Preview mode, except the first time when you are apparently capturing the first sections page count.

3. Are your Print Setups different? If not, then you only need one.

Because, as comment points out, Insert File fails if the field is not on the layout, consider creating a "utility/dev" layout for each table. This layout is used in scripts. Any fields that must be on the layout, I typically fill with red.

This topic is 5090 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.