My problem:
rst.open "Select * From Table, conn, adOpenOptimistic, adLockOptimistic
If I do:
rst.AddNew
rst("Field1") = Whatever
rst.AddNew
rst("Field1") = Whatever
The first AddNew gets added to the database (Access 2000), but the second is subject to rst.CancelUpdate and rst.Update.
I have tried several options using adLockBatchOptimistic, etc with either the same thing happening or some error at the second AddNew about releasing the fields.
What I am trying to do is allow unlimited AddNew, but then to have the decision to post all or post none to the database.
Can this be done with an ADO control? Any help would be much appreciated.
rst.open "Select * From Table, conn, adOpenOptimistic, adLockOptimistic
If I do:
rst.AddNew
rst("Field1") = Whatever
rst.AddNew
rst("Field1") = Whatever
The first AddNew gets added to the database (Access 2000), but the second is subject to rst.CancelUpdate and rst.Update.
I have tried several options using adLockBatchOptimistic, etc with either the same thing happening or some error at the second AddNew about releasing the fields.
What I am trying to do is allow unlimited AddNew, but then to have the decision to post all or post none to the database.
Can this be done with an ADO control? Any help would be much appreciated.