PC Review


Reply
Thread Tools Rate Thread

How do I make an access database "lock" after data is entered?

 
 
=?Utf-8?B?RW1v?=
Guest
Posts: n/a
 
      1st Feb 2006
I have a database that multiple people are entering data using a form. How do
I make the data "lock" after it is entered so that it can NOT be deleated or
changed by another user? Or can I make the database open to a "new" form and
not allow it to go to any other data?
 
Reply With Quote
 
 
 
 
Brian Bastl
Guest
Posts: n/a
 
      1st Feb 2006
Use the form's On Current event. I think something like the following will
work:

Me.AllowEdits = Me.NewRecord
Me.AllowAdditions = Me.NewRecord
Me.AllowDeletions = Me.NewRecord

Brian

"Emo" <(E-Mail Removed)> wrote in message
news:6EE62551-6606-4F1D-8A4B-(E-Mail Removed)...
> I have a database that multiple people are entering data using a form. How

do
> I make the data "lock" after it is entered so that it can NOT be deleated

or
> changed by another user? Or can I make the database open to a "new" form

and
> not allow it to go to any other data?



 
Reply With Quote
 
Joseph Meehan
Guest
Posts: n/a
 
      1st Feb 2006
Emo wrote:
>I have a database that multiple people are entering data using a form.
> How do I make the data "lock" after it is entered so that it can NOT
> be deleated or changed by another user? Or can I make the database
> open to a "new" form and not allow it to go to any other data?


To keep them from getting to tables etc you will need to implement User
Level Security.

I suggest you start by reading
http://support.microsoft.com/default.aspx?scid=kb;[LN];207793

Access security is a great feature, but it is, by nature a complex product
with a very steep learning curve. Properly used it offers very safe
versatile protection and control. However a simple mistake can easily lock
you out of your database, which might require the paid services of a
professional to help you get back in.

Practice on some copies to make sure you know what you are doing.

Are these users working on the same machine or are they working from
their own machines? If on a LAN do you have a "split" database?

Another approach might be to use a batch method where they enter their
data and then it is sent to the storage table, likely in another database,
at the end of their session.

There are any number of possible ideas depending on the exact situation.

--
Joseph Meehan

Dia duit


 
Reply With Quote
 
=?Utf-8?B?QWNjZXNzVGF4TWFu?=
Guest
Posts: n/a
 
      1st Feb 2006
Well, here's a quick method to somewhat protect existing data in a table.
Set the Form's Data Entry property to Yes. When this form first opens,
existing data cannot be displayed. Only data entered during that current
work session can be accessed, as long as the user doesn't stray off your
Form. As an additional measure, you might also want to set the Form's Allow
Edits and Allow Deletions properties to No. This would prevent edits and
deletions to completed records visible to the user. Depending on your users
abilities and curiosity, this may be enough security.

"Emo" wrote:

> I have a database that multiple people are entering data using a form. How do
> I make the data "lock" after it is entered so that it can NOT be deleated or
> changed by another user? Or can I make the database open to a "new" form and
> not allow it to go to any other data?

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Trying to filter an Access database with a Field LIKE "%" + "@PARAM" + "%" mosscliffe Microsoft ASP .NET 4 18th May 2006 10:13 PM
How to make Excel detect the "closest" date to the one I entered and return an value? blkhawk Microsoft Excel Discussion 3 2nd Dec 2005 05:15 AM
Can I make a data access page out of a "form" with subforms? =?Utf-8?B?QW50b255IEcgVHV0dGxl?= Microsoft Access External Data 0 8th Jun 2005 05:19 PM
Make database "data entry only" =?Utf-8?B?RGF2aWQgQ2hhbWJlcnM=?= Microsoft Access Getting Started 1 18th Apr 2005 01:27 PM
Access 2002 SP 2 "lock database from users' editing?" Jackson Vanderlinden Microsoft Access 1 17th Sep 2003 05:54 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:41 AM.