record Locking multi user

L

Luciano

Hi
I have a multi-user Access 2003/2007 database. In mono user mode everything
works fine, but in multi user mode there seems to be occasionally a Conflict
message giving the users to either Save Record, Copy to Clipboard or Drop
Changes.

I open my tables something like:

Public Function OpenTable(strTableName As String) As DAO.Recordset
On Error GoTo FoutOpenTable
Set ws = DBEngine.Workspaces(0)
Set db = DBEngine.Workspaces(0).Databases(0)
Set OpenTable = db.OpenRecordset(strTableName, dbOpenTable)
ExitFoutOpenTable:
Set db = Nothing
Exit Function
FoutOpenTable:
MsgBox "FoutOpenTable"
Resume ExitFoutOpenTable
End Function

Can sombody help me?
 
R

ruralguy via AccessMonster.com

Depending on the type of system, there could always be write conflicts but
you can miminize these conflicts by using queries of tables rather that the
tables directly.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Locing records i nmulti user 6
User Defined Type 4
Multi-user access 2
Fill ListBox with user login names 3
Record Locking 2
This code need Notes to understand 0
Calculating Time 5
ERROR: Record is deleted 1

Top