FIX: Disk or Network Error with Data Access ObjectsID: Q114771
|
Error 3043 (Disk or network error) can result when you run multiple
instances of one Visual Basic program or you run multiple programs, and all
instances or programs perform data access on the same database.
If the program does not explicitly close all the data access objects (by
using db.close, for example), then the error will occur when the second
instance of the program tries to work with a data access object.
Close all data access objects (tables, dynasets, snapshots, and databases)
explicitly. For example, if your program has any of the following
statements
Dim db As database
Dim ds As dynaset
Dim sn As snapshot
Dim tb As table
Set db = OpenDatabase("<some database file>")
Set ds = db.CreateDynaset("<some query>")
Set sn = db.CreateSnapshot("<some query>")
Set tb = db.OpenTable("<some table name>")
tb.close
ds.close
sn.close
db.close
This bug was corrected in Microsoft Visual Basic version 4.0 for Windows.
Additional query words: buglist3.00 fixlist3.00 3.00
Keywords : APrgDataAcc
Version : 3.00
Platform : WINDOWS
Issue type :
Last Reviewed: May 28, 1999