Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access VBA
|
Access VBA Discuss using VBA for Access programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 6th, 2006, 03:32 PM
Authorized User
 
Join Date: Jan 2006
Posts: 48
Thanks: 0
Thanked 0 Times in 0 Posts
Default How do i keep users from editing my table?

Is there a way to lock users out of the tables so they cant open it up and edit items, delete items or add items???

 
Old April 6th, 2006, 03:37 PM
Friend of Wrox
 
Join Date: Oct 2004
Posts: 564
Thanks: 0
Thanked 4 Times in 4 Posts
Default

This may or may not work, and would depend on you having a network type environment, but what if you were to put all the tables in a separate DB, put that DB in a folder where the users only have read access and then link the tables into your original DB? Not sure if that will work, but it is worth a shot.

Mike

Mike
EchoVue.com
 
Old April 6th, 2006, 03:39 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 196
Thanks: 0
Thanked 0 Times in 0 Posts
Default

You could grant the user read only rights to the data.


Rand
 
Old April 6th, 2006, 08:07 PM
Registered User
 
Join Date: Apr 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

well one way to prevent users from changing data in your Db is to enable the MSAccess security. You will need to create user IDs and passwords for everyone and put them into groups and grant certain rights to the groups or you can create a USER account (and have all your users use the same account) that just has read only access to the data. You could probably secure the .MDB file using the a read only permission (on the file only) but users need the ability to write to the directory the .MDB file resides. Users need to be able to write to the .LDB file that accesses uses to track users.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Transpose Table - Editing the MS KB code gwolfe Access 2 September 14th, 2007 02:48 AM
Editing File Hind Java Basics 2 June 14th, 2006 07:04 PM
Editing in Pivot Table brrmsc VBScript 0 November 29th, 2005 01:10 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.