Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / General 2 / February 2008

Tip: Looking for answers? Try searching our database.

Prevent row from being deleted

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Murray - 21 Feb 2008 22:00 GMT
Hi all
I have a form with a subform on it. The subform is displayed in Datasheet
view. If a user right clicks on a row it allows for the user to insert a new
record or deleted the current record. Is there a way to prevent the user from
deleting the record?

Thanks
gllincoln - 21 Feb 2008 22:53 GMT
Hi Murray,

Sure - set the sub-form's property 'allow deletions' (in design mode, property sheet) to false.

Gordon

> Hi all
> I have a form with a subform on it. The subform is displayed in Datasheet
[quoted text clipped - 3 lines]
>
> Thanks
John W. Vinson - 22 Feb 2008 00:42 GMT
>Hi all
>I have a form with a subform on it. The subform is displayed in Datasheet
[quoted text clipped - 3 lines]
>
>Thanks

Are you talking about *deleting* the record from the table entirely, or
editing the content of the record so that it's effectively a replacement
record?
Signature

            John W. Vinson [MVP]

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.