If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > Delphi, C etc > Multi user posting

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-23-04, 03:37
wsLian wsLian is offline
Registered User
 
Join Date: Mar 2004
Posts: 3
Exclamation Multi user posting

Hi there, i am using VB6 to write my program. but i have a problem with the multiuser. my database i am using ms access 97. the problem is like this. i link my database using ODBC. the following is how i open my database using vb and i set the option to dbseechanges and the lockedit i used dboptimistic.

Set rsTable2 = db.OpenRecordset( sql2, dbOpenDynaset, dbseechanges, dboptimistic)

when both user try to post using the same entry form with the same reference number. the first table that it will post to have an index key in it. so when one record already posted, the other use will get a error message. then i change the other user's reference no. but the problem is that the first user will have error pop up saying that the table is lock by the other user. as i know the other user still haven't post untill there yet. so do anyone have any idea on how to solve this problem????
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On