Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MULTIUSER PROBLEM

Status
Not open for further replies.

koukouroukou

Programmer
Feb 6, 2002
38
GR
LETS SAY THAT I HAVE 60000 RECORDS AND 20 USERS.
THE USERS CALLS 1 RECORD EACH TIME FOR EDITING.
HOW CAN I BE 100 SURE THAT EACH USER IS GOING TO CALL A UNIQUE RECORD.
I HAVE DONE THE FOLLOWING BUT IF 2 USERS CALL THE SQL STATEMENT AT THE SAME TIME ....
DoCmd.RunSQL "SELECT top 1 cust.* INTO temp FROM cust WHERE (TRIGER = 0);"
DoCmd.OpenForm "Mainform"
settriger

MY TRIGER IS:
Function settriger()
DoCmd.OpenForm "trigerform", acNormal, "", "[custid]=[Forms]![Mainform]![custid]", , acNormal
Forms!trigerform!triger = 1
DoCmd.close acForm, "trigerform"

End Function
PLEASE HELP ME I HAVE THE FEELING THAT THIS IS NOT THE RIGHT
WAY
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top