Solved

multiple user environment program

Posted on 2002-04-08
4
164 Views
Last Modified: 2010-05-02
i have a problem about updating program that run on multiple user .

if i have a program that used concurrently by 2 user.
let say i want to update a record in a table,how can i lock that current records(Not table) only. so that another user cannot update to it until i realease it.

Pls provide me solutions.
TQ

0
Comment
Question by:thg
4 Comments
 
LVL 75

Expert Comment

by:Anthony Perkins
ID: 6927386
Please maintain your open questions.  For the record:

Questions Asked 21
Last 10 Grades Given B A A A A C C C C C  
Question Grading Record 14 Answers Graded / 14 Answers Received

Anthony
0
 
LVL 5

Expert Comment

by:KarcOrigin
ID: 6927425
Hi thg,

What is your backend?
0
 

Author Comment

by:thg
ID: 6927468
let say a few client access to one SQL server.
0
 
LVL 5

Accepted Solution

by:
rkot2000 earned 100 total points
ID: 6928241
locking is not very good idea(plus you can not use locking with 3+ tiers or web client)

this is better solution  :
http://www.devx.com/premier/mgznarch/vbpj/1999/08aug99/pc0899.pdf
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now