We help IT Professionals succeed at work.
Get Started

Preventing users from modifying a record that's being viewed in a bound form

Juan Ocasio
Juan Ocasio asked
on
93 Views
Last Modified: 2017-11-01
Hello all:

I am trying to remedy a situation where users can access the same record on a bound form.  Basically I have a form with a sub form (so a header and detail table).  On the form a user can create a new record (clicking a button).  This generates a new id and also creates a new record in the database.  Likewise, the user can use a drop down on the form to select an existing record.  What I would like is for when a user is on a record (either a newly created one or an existing on they recently selected), if another user tries to access that record, via the drop down, they will get be told that record is locked.  I tried to set the Record Locks property to edited record, but this doesn't seem to work.

Any help would be greatly appreciated.

Thanks!

Juan
Comment
Watch Question
CERTIFIED EXPERT
Distinguished Expert 2017
Commented:
This problem has been solved!
Unlock 2 Answers and 13 Comments.
See Answers
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE