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 » Database Design
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Preventing Records from being deleted?



 
 
Thread Tools Display Modes
  #1  
Old April 27th, 2004, 09:56 PM
Amy Johnson
external usenet poster
 
Posts: n/a
Default Preventing Records from being deleted?

Is it possible to lock a table so that new records can be
added but existing ones can not be deleted?
  #2  
Old April 27th, 2004, 10:16 PM
Steve Schapel
external usenet poster
 
Posts: n/a
Default Preventing Records from being deleted?

Amy,

Generally speaking, tables can be seen during the development and
testing phases of your database, but should not be exposed to the user
in normal usage. The data should be accessed via forms, which are
designed for this purpose. In this case, a form has properties which
can be adjusted to achieve the effect you want, i.e. set the
AllowDeletions property (and maybe also the AllowEdits property?) to No.

--
Steve Schapel, Microsoft Access MVP

Amy Johnson wrote:
Is it possible to lock a table so that new records can be
added but existing ones can not be deleted?

 




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 11:08 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.