I'm trying to run an INSERT statement on a form and it doesn't work...
I've done this same thing on several other forms with no problem, the only difference is with this INSERT, I'm inserting into a table who's primary key is an auto number.
So for the INSERT, I only listed the other columns.
I get no message that the INSERT didn't work, but I put a message box both before and after the doCmd RunSQL command and the first box pops up, but not the second.
My guess is that it's something to do with the auto number column, but I don't get any kind of a warning or error message.
Any ideas?
I've done this same thing on several other forms with no problem, the only difference is with this INSERT, I'm inserting into a table who's primary key is an auto number.
So for the INSERT, I only listed the other columns.
I get no message that the INSERT didn't work, but I put a message box both before and after the doCmd RunSQL command and the first box pops up, but not the second.
My guess is that it's something to do with the auto number column, but I don't get any kind of a warning or error message.
Any ideas?