Topic: Duplicate content on save!

Hi,
I just have some strange problem,
Ive just make an application which using mysql to connect.
the problem is if I open a new form using new record! and prevent to close the form after saving it, by every click on save button MVDB add a new record to DB!!!!
its mean I have duplicate content every time I click on the save button!!!
Is it bug or something else ?

Thanks a lot smile

Re: Duplicate content on save!

You need to place the following code in the "Save Button" Onclick event:

Form1.buttonSave.dbDontResetID := True; 

That should take care of your issue.