I have a form that does two things, (1) finds a record that matches the selection in a combox and (2) provides the input boxes to add a new record to one or two tables, depending on the criteria evaluated. It's all working except for one thing. I can add the first new record, but when I enter the data for the next new record it is not added. I get an "ADD SUCCESSFUL" message in either case, which means I've got my message set up wrong (well, I guess that thing 2 that wrong). But I can't figure out why I can't add more than one record in a row.
Now, if I chose an item from the combobox and then try to add a second record, that works. If I close the screen (form) and reopen it, that works. But I can't just keep filling in the input boxes and clicking "ADD", one right after another.
I'll post the code if necessary. It's part of the onclick event of a command button. I'm using INSERT INTO sql to add the new records.
Thanks for any and all advice!
Amadea
Now, if I chose an item from the combobox and then try to add a second record, that works. If I close the screen (form) and reopen it, that works. But I can't just keep filling in the input boxes and clicking "ADD", one right after another.
I'll post the code if necessary. It's part of the onclick event of a command button. I'm using INSERT INTO sql to add the new records.
Thanks for any and all advice!
Amadea