Going mad with Error updating database - record not found

Hello all,
I got a form (master/details) and I can do insert without any issues.
If I later have inserted a record try to click on UPDATE button then I receive a very strange error like

Error updating database - record not found

I did check many times everything but I’m not able to understand the cause of it … Why it don’t appear on insert too ?? Do it loose the record reference ?
Is there a trick or something I can do to find where the error could be ?
The message show only a ref row to part of program that show the same message , so, it’s not useful .

Check you databasetable after inserting to see if record has been added and all fields contain the data.

Hi , thanks
I will check it for sure

Most likely you have a mishap in the ide identifying the primary keys. You need to correct that.

Yeah, that was it … :wink: