How to make a form to be for viewing only. No editing

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

Hope somebody can help me on this.

If I have a form that display a query, but I do not want the person who has
the right to run this form to edit the data shown.

Is the a way for me to make the form as READ only??

Thank you in advance
 
Set the AllowEdits property of the form to No.

You probably want to set its AllowDeletions to No as well.

If you set its AllowAdditions to No so that the new record is not present,
and then there are no records to display (e.g. if you filter the form), the
entire detail section goes completely blank. To avoid, this you might like
to leave AllowAdditions as Yes, and cancel the form's BeforeInsert event
instead.

Note that when you set AllowEdits to No, even unbound controls are
uneditable.
 
Back
Top