client server programming - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

client server programming

hi,
I am working on project where Database is placed in server.Database is in Access.i am using adodb.Now my requirement is,multiple user on different machine can add different records to same table.
i am using code like

recordset.source=query
recordset.CursorLocation = adUseClient
recordset.CursorType = adOpenDynamic
recordset.locktype=adLockOptimistic
recordset.ActiveConnection = Conn
recordset.Open

now what changes should i make so my purpose can solved.Please help and guide me urgently.
Ganesh :)

Comments

  • Dinu22Dinu22 Posts: 9Member
    : hi,
    : I am working on project where Database is placed in server.Database is in Access.i am using adodb.Now my requirement is,multiple user on different machine can add different records to same table.
    : i am using code like
    :
    : recordset.source=query
    : recordset.CursorLocation = adUseClient
    : recordset.CursorType = adOpenDynamic
    : recordset.locktype=adLockOptimistic
    : recordset.ActiveConnection = Conn
    : recordset.Open
    :
    : now what changes should i make so my purpose can solved.Please help and guide me urgently.
    : Ganesh :)

    Try locking the connection when it is being used by one user , lock and unlock the connection as per required
    :


Sign In or Register to comment.