C
Charweb
I have a continuous form that users can paste a list of serial numbers into.
The underlying data is a simple query that permits updates and insertions
into the data table. The serial numbers are validated through a BeforeUpdate
event, and if they don't meet the required format then CancelEvent is
invoked. After an erroneous serial number is pasted, the event for that
serial number is cancelled and the remaining non-erroneous serial numbers
continue to be pasted into the form.
When all have been pasted the form appears as if all the non-erroneous
records have been added, with autonumbers and everything. However the
underlying table has not accepted one record from the form. In fact, the
autonumbering of the table skips all those in the form. If there were no
errors in the paste, all records are inserted as expected.
Anybody have a clue?
Thanks!
The underlying data is a simple query that permits updates and insertions
into the data table. The serial numbers are validated through a BeforeUpdate
event, and if they don't meet the required format then CancelEvent is
invoked. After an erroneous serial number is pasted, the event for that
serial number is cancelled and the remaining non-erroneous serial numbers
continue to be pasted into the form.
When all have been pasted the form appears as if all the non-erroneous
records have been added, with autonumbers and everything. However the
underlying table has not accepted one record from the form. In fact, the
autonumbering of the table skips all those in the form. If there were no
errors in the paste, all records are inserted as expected.
Anybody have a clue?
Thanks!