A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Blocking editing by users



 
 
Thread Tools Display Modes
  #1  
Old August 5th, 2007, 10:58 PM posted to microsoft.public.access,microsoft.public.access.forms,microsoft.public.access.formscoding
John
external usenet poster
 
Posts: 409
Default Blocking editing by users

Hi

I have two questions;

1. How can I disallow users from editing, adding or deleting records on a
form?

2. What is the purpose of allow edits? What value should I set it to?

Thanks

Regards


  #2  
Old August 5th, 2007, 11:24 PM posted to microsoft.public.access.forms,microsoft.public.access.formscoding,microsoft.public.access
Ken Sheridan
external usenet poster
 
Posts: 3,433
Default Blocking editing by users

As far as adding and deleting records are concerned setting the form's
AllowAdditions and AllowDeletions properties to False (No in the properties
sheet) will prevent users doing so in the form.

As regards editing, setting the AllowEdits property will prevent this, but
it will also prevent the user using unbound controls on the form such as a
navigational combo box for instance. Leaving the AllowEdfits property as
True (Yes) and setting the Locked property of each bound control to True and
their Enabled properties to False will prevent users editing the bound
controls while still giving them access to unbound controls.

This is a very low level of security, however, as a user can easily edit the
table(s) outside the form. If you want a higher level of security then you
should consider implementing user and group security. You can find extensive
information on this at:


http://support.microsoft.com/default...2F secfaq.asp


Ken Sheridan
Stafford, England

"John" wrote:

Hi

I have two questions;

1. How can I disallow users from editing, adding or deleting records on a
form?

2. What is the purpose of allow edits? What value should I set it to?

Thanks

Regards




 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 02:47 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.