Readonly fields in forms

  • Thread starter Thread starter Ramesh
  • Start date Start date
R

Ramesh

HI,

Can i setup forms such in certain forms, only certain fields are editable?
eg i have one form in which i create the records. and another form in which
i am allowed to modify only one or two fields, the rest become like readonly
(in that form).

This is to protect the earlier entries when modifications to a field is
made.

Thanks for any help.
Ramesh
 
You can set the Locked property of a control bound to a field in the
underlying recordset to Yes to prevent the value displayed in that control
from being changed.

So, if you want to set up an edit form for your data, set the Locked
property of all the textboxes to Yes, except for those you are allowing your
users to edit. If you set the Enabled property of the Locked textboxes to
No, they will not even be able to tab/click into that control.

HTH,

Rob
 

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

Back
Top