AnsweredAssumed Answered

Error capture

Question asked by xyrejeddiah on Mar 18, 2013
Latest reply on Mar 21, 2013 by xyrejeddiah

Title

Error capture

Post

     Hello again,

     I'm trying to create a custom delete button and i want to capture the default FMP error message and i have custom priveleges base on account names. I just like to know what is the error number/code for this one

     "your access privilege do not allow you to do this action"

     I've already tried code = 9 as shown in the code reference but it doesn't work when i try to use

     Set error capture [on]

     if [Get (Lasterrormessage) = 9]

     show custom dialog [xxxxxxxxxxxxxxxxxxxx]

     end if

     Any help please.....

Outcomes