Article ID: 106493
Article Last Modified on 1/8/2003
Sub Command1_Click ()
Dim db As database
Dim ds As dynaset
Set db = OpenDatabase("c:\vb3\biblio.mdb")
Set ds = db.CreateDynaset("authors")
On Error Resume Next
' WORKAROUND: Add the following statement here: BeginTrans
Rollback
Print Error$
On Error GoTo 0
End Sub
DatabaseName = C:\VB\BIBLIO.MDB ' This database shipped with VB RecordSource = Authors ' Use the Authors Table.
DataSource = Data1 DataField = Au_ID
Sub Command1_Click ()
On Error Resume Next
Rollback
Print Error$
' WORKAROUND is to add the following statement here: Data1.Refresh
End Sub
Commit or Rollback without BeginTrans
Additional query words: 3.00
Keywords: kbprb KB106493