Results 1 to 1 of 1

Thread: handling duplicates in a form

  1. #1

    handling duplicates in a form

    hi, in a before_update delegate i find that i am about to add a duplicate field, how can i revert/rollback ?

    How about errors while working with an (ODBC) virtual table, is "on error" the way to go?

    I may have the beginning of a solution for duplicates using syncnum() in before_update delegate.
    When detecting a duplicate (duplicate record appears in table even before validating) i do a delete where syncnum() = syncnum of duplicate record (obtained by syncnum() in before_update delegate).
    Works well on local and virtual tables.
    Last edited by Phjr; 2013-08-15 at 01:21.

Tags for this Thread



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Journey into the Cloud
Join us