Article ID: 192717
Article Last Modified on 8/12/2005
rsAuthors.CursorLocation = adUseClient
rsAuthors.Open "SELECT Au_ID, Au_LName FROM Authors", cnPubs, _
adOpenStatic, adLockBatchOptimistic, adCmdText
rsAuthors.Save strPath
cnPubs.BeginTrans
rsAuthors!Au_LName = InputBox("Enter a new last name")
rsAuthors.Update
rsAuthors.UpdateBatch
cnPubs.RollbackTrans
rsAuthors.Open Source:=strPath, LockType:=adLockBatchOptimistic, _
Options:=adCmdFile
Set rsAuthors.ActiveConnection = Nothing
Set rsAuthors.ActiveConnection = cnPubs
Another possible solution is to use the Resync or Requery commands on the
recordset object to retrieve the most up to date information from the
database.
Keywords: kbprb KB192717