synergy46

FM 13 error message... not

Discussion created by synergy46 on Aug 10, 2014
Latest reply on Aug 12, 2014 by synergy46

I have an Accounts Table:

PK

AccountNum

 

AccountNum is setup to have only UNIQUE values.

I find that when I enter a duplicate value I get a really ugly FM generated dialog... Ignore, Yes, No...

 

Set Error Capture is ON.

I run the debugger and try and capture the error message.... but there is no get(lasterror)... Huh?

 

What am I missing here?

 

Do I have to accept the entry, do a FIND or perhaps a lookup, and then if found/lookup is successful, branch to my own dialog and then come back and show all?

 

Seems like there should be an easier FM way to do this.... Ideas?

 

Thanks

 

Ron

Outcomes