troubleshooting Question

RECORD LOCKING, (VB6 & ACCESS)

Avatar of BobSamonik
BobSamonik asked on
Microsoft Access
6 Comments1 Solution349 ViewsLast Modified:
I have table T and fields F1,F2,F3,F4
Now, I have to update field F3 and calculate filed F4 based on the values of the fields 1-3
First I select the row from T (SELECT F1,F2 FROM T WHERE ...), then do the caclulation and finaly update (UPDATE T SET F4=... WHERE ...)
But between select and update I have to ensure that nobody changes the fields F1 and F2 before I do the update!
Please, simple example in VB or comment with solution
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 6 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 6 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros