making a field read only on a form in edit mode

K

kmhnhsuk

I have a form in edit mode, and I want all fields bar one to be editable. The
field at the top is a reference field (primary key in the underlying table)
and I do not want it to be edited in any way although I do want it to be seen.

Any suggestions?
 
R

Rick Brandt

kmhnhsuk said:
I have a form in edit mode, and I want all fields bar one to be
editable. The field at the top is a reference field (primary key in
the underlying table) and I do not want it to be edited in any way
although I do want it to be seen.

Any suggestions?

Set the Control's Locked and/or Enabled properties to True and False
respectively.
 

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