2 Replies Latest reply on Mar 21, 2013 8:01 PM by xyrejeddiah

    Error capture



      Error capture


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