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

does cancelling an import generate an error?

Featured Replies

I have a script in a solution that first exports data from a table and then carries out various other script steps. My problem is that when a user presses the cancel button on the export script it continues on running the rest of the script. I want all the other script steps to only be activated if the import command is carried out. (Oh and the export step needs to be have dialogue turned on.) Cancelling an export script step does not seem to generate an error message.

I have the same problem with an import script step. In this instance, if the user cancels the script step OR they try to import the wrong type of file.

ANy help would be appreciated

Yes: Error 1 = user cancelled action.

Try this in your script:

Allow User Abort [on]

Set Error Capture [on]

Export []

Set Field [gError = Status) CurrentError )]

Allow User Abort [off]

Set Error Capture [off]

If( gError = 0 )

# Export completed

Else

#Export cancelled or failed

End If

Edited by Guest

  • Author

thanks for that Vaughn. I tried something like that earlier and it didn't work. However, thanks to you I realised I was not using the set field step directly after the import step.

Cheers. That has saved me no end of headaches!!!

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Search

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.