Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Script Seems To Skip Insert File

Featured Replies

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

  • Author

ok doesnt seem to attach so...

10dz6m0.png

Aren't you in Preview mode at that point?

  • Author

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

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.

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.

Create an account or sign in to comment

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.