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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Multiple users - record locks on form w/subform

Status
Not open for further replies.

yoshe

Technical User
Jan 12, 2007
36
US
Hi,
I have a front end form with 2 child subforms. Multiple people are performing data entry or running queries against the backend. I had no record locks and inevitably we ran into problems. (This is not really my regular job - just an application I have had to develop for a specific project.) I'm having trouble figuring out the record locks: if I set the record locks property to "edited record" for both the form and subform , it seems to prevent users from simultaneously editing a record on the main form, but not the associated child records. How can I lock the record and the linked child records? I have tried setting the subform property 'Locked' to Yes, but that locks all of the subform records, even those not associated with the parent record. I think this should be simple, I'm just new at this and under time crunch. THanks so much for any help, it is much appreciated.
 
Did you try coding it? Make a seperate table and place tje ID's in it while the specific ID is in use. Every time a user tries to change a record, the code does a lookup in that table to see if it is under editing.

Perhaps this helps...

gtrz Flippertje
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top