Hi Geert,
Which of the two records containing the same index key do you expect the SEEK to be able to find?
Rather than adding a new record, you could recycle the existing record...do a seek or locate for that key, and if the record is deleted, recall the record and then do the replace.
< update > You'd probably have to lose the filter on !deleted() from you index expression for this to work.
>Hello Steve,
>
>I cannot tableupdate() it then. The user must be able to undo all the changes he/she made in the 3 forms. If I would tableupdate the problem will not persist but that doesn't explain the reason why an error occurs.
>
>Greetings,
Steve Gibson