Hi,
I have a form with a few controls, simple button to add some information to a tabel in Access 2003.
I'm using a string "query" for the INSERT statement.
So when i wish to execute the query I just do
docmd.runSQL query.
Now the problem:
Adding the record works fine. It gets a new ID and is added at the bottom of the table. Now here's the catch, The first record in my table is somehow pasted over with the data I inserted from the form.
This ofcourse is very annoying and will surely give me incorrect information in the future if this problem is not fixed.
I've tried executing the statement as a query in Access itself, It works perfectly fine here.
Anyone got any ideas?
kind regards
JoeriJM
I have a form with a few controls, simple button to add some information to a tabel in Access 2003.
I'm using a string "query" for the INSERT statement.
So when i wish to execute the query I just do
docmd.runSQL query.
Now the problem:
Adding the record works fine. It gets a new ID and is added at the bottom of the table. Now here's the catch, The first record in my table is somehow pasted over with the data I inserted from the form.
This ofcourse is very annoying and will surely give me incorrect information in the future if this problem is not fixed.
I've tried executing the statement as a query in Access itself, It works perfectly fine here.
Anyone got any ideas?
kind regards
JoeriJM