[FX.php List] [Off] Catching permissions error in FMP

Bob Patin bob at patin.com
Tue Nov 1 10:06:45 MDT 2011


Troy,

Here's what to do:

Set Error Capture [On]

if ( get (lastError) = 200 )
	Show Custom Dialog ( "You clearly have no business here; move on." )
	Exit Script
End If


On Nov 1, 2011, at 10:44 AM, Troy Meyers wrote:

> I'd like a better message for the user. I know that this is a Get ( LastError ) = 200, but I can't figure out how to catch this. I've tried some Layout script triggers, but no dice. I did NOT try doing a OnKeystroke on each field (since that didn't work on Layout) because I've got to think there is some more elegant, one-spot solution to catch this so that the default warning isn't shown, and my custom dialog is.
> 
> Any ideas?
> 
> -Troy

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20111101/f547be4a/attachment.html


More information about the FX.php_List mailing list