Read only access

  • Thread starter Thread starter Nicolae Fieraru
  • Start date Start date
N

Nicolae Fieraru

Hi All,

I am working on a database and I have a form which I use to view/enter data.
Most often the user needs to view data already entered and they can browse
through the records. Some of the data is displayed in a combobox and it is
very easy for the user to modify by mistake valid information. I would like
to put a checkbox on the form, or have a way of preventing the user to edit
the data unless they specificy they want to go into edit mode.

Any ideas appreciated.

Regards,
Nicolae
 
Hi All,

I am working on a database and I have a form which I use to view/enter data.
Most often the user needs to view data already entered and they can browse
through the records. Some of the data is displayed in a combobox and it is
very easy for the user to modify by mistake valid information. I would like
to put a checkbox on the form, or have a way of preventing the user to edit
the data unless they specificy they want to go into edit mode.

Set the Form's AllowEdits property to False; set it to True in the
Click event of a command button (and back to False in the form's
Current event or AfterUpdate event if you want to turn editing back
off when they leave the edited record).


John W. Vinson[MVP]
 
Thank you John, that is very simple and useful to know.

Regards,
Nicolae
 

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