December 9, 20196 yr Hello; can I change the content of any error message that I get during edit or modify? Edited December 9, 20196 yr by Ismail AlAbdulmohsen
December 9, 20196 yr 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.
December 9, 20196 yr 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
Create an account or sign in to comment