AnsweredAssumed Answered

show custom dialog instead of filemaker error

Question asked by jdevans on Dec 12, 2016
Latest reply on Dec 12, 2016 by BruceRobertson

I have a setup such that upon reaching a condition, I set the records as "locked" by adjusting the Privilege Set's edit setting. This works fine. However, I'd love to more elegantly handle the record-locked condition outside FIlemaker's built in

 

"Your Access Privileges do not allow you to perform this action." message.

 

I thought I could trap it with OnObjectModify, then If(Get(LastError)=9).
But that never fires. It immediately goes to the built-in Error message above.

 

How can I bypass this message with one of my own?

Outcomes