Click here to Skip to main content
15,888,401 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
we are facing some problem during bill generation in Visual Basic 6.0. if two users click "Save" button on same time, how should we handle both users' entries? if you send me a small example, that will be a great help. Thanks in advance.
Posted

1 solution

Do the following things

handle insert operation in stored procedure :

step 1 : create stored proceudre
step 2 : do apply transaction when inserting data
step 3 : commit transaction

by applying transaction you can easily handle two inserting at one time
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900