T
tgavin
I have a database with about 25 not very computer literate users. They are
not all on at one time. On just one (very important) form, they sometimes get
the message "Currently locked; can not update." This is a long form with a
subform in the middle of it. They generally lose the record and that includes
a 200+ memo they have written.
Microsoft says it is a known bug and give a work around but I don't
understand the work around. I don't know where to put an code and I don't
know how to change from the Jet engine to
The work around...
To work around this problem, use one of the following methods:
cn.CursorLocation = adUseClient
-or-
Dim rs As New ADODB.Recordset
rs.CursorType = adOpenStatic
rs.CursorLocation = adUseClient
Your help would be greatly appreciated. Thanks.
not all on at one time. On just one (very important) form, they sometimes get
the message "Currently locked; can not update." This is a long form with a
subform in the middle of it. They generally lose the record and that includes
a 200+ memo they have written.
Microsoft says it is a known bug and give a work around but I don't
understand the work around. I don't know where to put an code and I don't
know how to change from the Jet engine to
The work around...
To work around this problem, use one of the following methods:
Dim cn As New ADODB.ConnectionUse Microsoft OLEDB Provider for ODBC Drivers (MSDASQL) with the Microsoft Access Driver, instead of with Microsoft OLE Provider for Jet 4.0.
Use the ADODB.Recordset object for subsequent edits, instead of an ADODB.Connection obect, or an ADODB.Command object.
Use client-side cursor to access the data. For example:
cn.CursorLocation = adUseClient
-or-
Dim rs As New ADODB.Recordset
rs.CursorType = adOpenStatic
rs.CursorLocation = adUseClient
Your help would be greatly appreciated. Thanks.