[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Transactions

Posted on 1998-08-24
1
Medium Priority
?
162 Views
Last Modified: 2011-04-14
I am using SQL Server 6.5
I have a table Client and have another table managers
One client can have several managers
That's why I put the managers into another table
Now I want to achieve that When user post then let the two tables post. When user cancel the editing let the two tables
remain unchanged.
I have tried cached updates.But It locks the table and another user can't access
Is there any way to do that without locking any table
The most important thing is that making the user feel that
he or she is entering data to a single object from a single interface.
NOT : DBGrid is automatically update when you navigate on the grid!!!
0
Comment
Question by:Cumhur
1 Comment
 

Accepted Solution

by:
chrismo earned 80 total points
ID: 1337631
Are you using TTables? If so, don't <G>. TTables place locks on the tables as long as they're open.

In addition, each TTable consumes a seperate SQL Server connection - not very efficient (and with one of the licensing setups, very expensive...).

For an important multi-user SQL app, you're better off not using bound controls and using TQueries to handle data. This is more work up front for sure - but believe me - the app I'm on has suffered many pains for using TTables. "Life is like the IRS, pay now or later with interest..." <g>
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
Suggested Courses

829 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