Hi, I have a a frustrating problem.
I have some code which uses the addnew method to create some new records - its an access 2000 event procedure updating a sql server 7 database. It works fine when there are 1 or more records in the table, but I get the following message when the table is empty
Either BOF or EOF is true... blah...the application requires a current record
I open the recordset as follows..
rstTicket.CursorType = adOpenKeyset
rstTicket.LockType = adLockOptimistic
rstTicket.Open "Ticket", cnn1, , , adCmdTable
Attempting to movefirst or movelast before an addnew results in the same message. So how do you use .addnew when the table is empty?
I have some code which uses the addnew method to create some new records - its an access 2000 event procedure updating a sql server 7 database. It works fine when there are 1 or more records in the table, but I get the following message when the table is empty
Either BOF or EOF is true... blah...the application requires a current record
I open the recordset as follows..
rstTicket.CursorType = adOpenKeyset
rstTicket.LockType = adLockOptimistic
rstTicket.Open "Ticket", cnn1, , , adCmdTable
Attempting to movefirst or movelast before an addnew results in the same message. So how do you use .addnew when the table is empty?