Ismail AlAbdulmohsen Posted December 9, 2019 Posted December 9, 2019 (edited) Hello; can I change the content of any error message that I get during edit or modify? Edited December 9, 2019 by Ismail AlAbdulmohsen
Fitch Posted December 9, 2019 Posted December 9, 2019 If the error happens during a script, then yes. You can use the Set Error Capture [on] step before the potential error step. Then use the Get(LastError) function to return the error. If there was no error, this will return 0. Note -- setting error capture "on" will suppress all FileMaker error messages until your script session ends, unless you set it to "off." That means YOU will be responsible for dealing with any errors as your script runs. Be careful.
comment Posted December 9, 2019 Posted December 9, 2019 I believe I have answered this in your previous question: https://fmforums.com/topic/105500-lock-records-if-creation-date-more-than-a-month/?do=findComment&comment=477379
Recommended Posts
This topic is 2063 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 accountSign in
Already have an account? Sign in here.
Sign In Now