General information
Category:
Databases,Tables, Views, Indexing and SQL syntax
Hi Erik,
Thanks, gaErrors[] is the correct name I finally found it in the help file.
Thanks for the reply
>>If I have defined relations between two tables in the DBC and generated RI code for deleting. How do I trap an error when I try to delete a record that can't be deleted? In otherwords if I have an updateable grid and the user clicks on the delete box in the grid. In my save button I do a TABLEUPDATE. Is there a way to trap that error from the RI code?
>>
>>Thanks
>
>Been a while since I looked at the generated RI code, but I believe it creates a public array with error info in it. You should be able to trap the error in your form's error event, and check the contents of gaErrors[] (or whatever it is called) to give the user a meaningful message.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only