Solved

multiple user environment program

Posted on 2002-04-08
4
167 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

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!

Question has a verified solution.

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

Suggested Solutions

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
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 utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

733 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