Link to home
Start Free TrialLog in
Avatar of SteveL13
SteveL13Flag for United States of America

asked on

Read-only form behaviour

I have a form opening in read-only mode.  That is a change I just made.  On that form is a combo box that allows the user to select a record and then the form used to display that selected record before I made the form read-only.  But since the form is read-only, the combo box doesn't work.  Is there a way to allow the user to use the combo box even though the form is read only?
Avatar of Dale Fye
Dale Fye
Flag of United States of America image

Set the Locked property of all of the controls (except the combo) to Yes, then you can open the form in regular mode and the user will not be able to make edits, but the combo box will work.
Avatar of SteveL13

ASKER

Is there a way to set the locked property to Yes in the on open event overall or do I have to set them each individually?
ASKER CERTIFIED SOLUTION
Avatar of Dale Fye
Dale Fye
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Got it.  Thanks.