Jump to content
Server Maintenance This Week. ×

Capturing data validation errors


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

Recommended Posts

Hi, I'm having some trouble stopping my script from dropping out into the wrong window because I can't seem to capture the error code. I have the Set Error Capture On script step right before the Close Window script step. Right after that step I set a $$Error variable with Get (LastError). The problem is that unless valid data is entered, I don't want the window to close or the script to continue, as it is doing now. Help or an example or two would be much appreciated. Best wishes, Dave.

Link to comment
Share on other sites

Use the Set Error Capture script step just before the step that you want to trap for. and use the Get(LastError) = XXX (XXX equals the error you are trapping for)

HTH

Lee

Edited by Guest
Link to comment
Share on other sites

I'm confused as to what you are trapping for.

Since you are on a mac, Print the script to Preview and then just select it and copy it to a post.

Lee

Link to comment
Share on other sites

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