Connecting Tech Pros Worldwide Help | Site Map

Lock an access db

 
LinkBack Thread Tools Search this Thread
  #1  
Old November 13th, 2005, 01:28 PM
Bob
Guest
 
Posts: n/a
Default Lock an access db

I am look for a technique to lock an access db from being changed. The
db is to be view by lots of users but I do not want any of them to
add, delete or change any records but there are two users which will
be change the db records, if this can be done using visual basic this
would be ideal as the shell as been written in vb6.

--
Bob

  #2  
Old November 13th, 2005, 01:28 PM
Tom van Stiphout
Guest
 
Posts: n/a
Default Re: Lock an access db

On Wed, 07 Sep 2005 10:01:28 GMT, Bob <goff1234@NOSPAM.ntlworld.com>
wrote:

Depends on how much security you need and how much you can control the
environment. Here are some suggestions:
* Put the back-end on a share that's readonly for most.
* Give most people a shortcut with the /readonly command line switch.
* Check the Windows user name, and write code such as this in all
forms:
Me.AllowEdits = (strWindowsUserName = "ntlworld\golff1234")
* Use Access Security - note: this is an advanced topic

-Tom.

[color=blue]
>I am look for a technique to lock an access db from being changed. The
>db is to be view by lots of users but I do not want any of them to
>add, delete or change any records but there are two users which will
>be change the db records, if this can be done using visual basic this
>would be ideal as the shell as been written in vb6.[/color]

 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,840 network members.