> I need to create and edit existing records and have tables that have
> unique fields. Is there a simple way to let the 4D DB engine do its
> thing but gracefully catch and handle duplicate key or other
> database errors?

If the code is in Active4D, the database errors will generate an Active4D 
error, which will jump out of the code that was executing, so you cannot 
gracefully recover in that way. You will have to check for error conditions up 
front.

Kind regards,

   Aparajita
   www.aparajitaworld.com

   "If you dare to fail, you are bound to succeed."
   - Sri Chinmoy   |   www.srichinmoy.org

_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/

Reply via email to