Forms: How do I view fields but not be allowed to edit?

K

Kilo

I want to make a form that employee's names and their shift can be viewed but
only the shifts field can be edited.
 
F

fredg

I want to make a form that employee's names and their shift can be viewed but
only the shifts field can be edited.

On each control (except the Shift control), set it's Locked property
to Yes.
 
K

Ken Sheridan

Even better, set the Locked property to True (Yes), and the Enabled property
to False (No) of the controls bound to the fields you want to be read-only.
That way a user cannot even move focus to the control, but unlike setting
only the Enabled property to False, the appearance of the control is
unaltered, i.e. its not greyed out.

Ken Sheridan
Stafford, England
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top