• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 171
  • Last Modified:

multiple user environment program

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
thg
Asked:
thg
1 Solution
 
Anthony PerkinsCommented:
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
 
KarcOriginCommented:
Hi thg,

What is your backend?
0
 
thgAuthor Commented:
let say a few client access to one SQL server.
0
 
rkot2000Commented:
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now