I have created a rdoResultset using VB 4.0 and filled the Resultset using select statement from SQL 6.0 server database.
When I want to add new record to a table I use the addnew method:
oRec!IsBook = 1
oRec!Code = DoQuotes(ItemType)
oRec!Description = "Not set yet"
mnItemTypeID = oRec!PKId ' this is the key
Set oRec = Nothing
As you can see I need to retrieve the just entered and automatically assigned PKId. I expected the current record pointer to point to the newly created record, but it points to the first record in the recordset instead. Does the rdo work say way as DAO? What is my solution? I cant issue oRec.movelast due to multi-user limitation.
Please share your experience with RDO.