G
Guest
It appears that the other thread has died, so I'll try again:
I'm trying to switch providers from ODBC to OLEDB. One side-effect I have
found is that you cannot seem to call .update more than once on a newly added
row. Ie, this code will fail...
rstTemp.AddNew
rstTemp!notes = "this is a test"
rstTemp.Update
....
rstTemp!someOtherField = "some other test"
rstTemp.Update
This will cause an error on the .Update, "Identity cannot be determined for
newly inserted rows."
Has anyone seen this before? Is there some way to avoid it? Perhaps some
combination of locking flags or such?
Maury
I'm trying to switch providers from ODBC to OLEDB. One side-effect I have
found is that you cannot seem to call .update more than once on a newly added
row. Ie, this code will fail...
rstTemp.AddNew
rstTemp!notes = "this is a test"
rstTemp.Update
....
rstTemp!someOtherField = "some other test"
rstTemp.Update
This will cause an error on the .Update, "Identity cannot be determined for
newly inserted rows."
Has anyone seen this before? Is there some way to avoid it? Perhaps some
combination of locking flags or such?
Maury