473,395 Members | 1,530 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Lock past transactions

3
Hi, I am preparing a sales management project in Access 2000. A new sale made in the "Sales" form can be later altered, meaning that the initial information entered are modified. This can cause serious problems when going back to check sales made.
Anybody knows how to lock access to completed sales records?
Thanks
Apr 23 '07 #1
3 1556
ADezii
8,834 Expert 8TB
Hi, I am preparing a sales management project in Access 2000. A new sale made in the "Sales" form can be later altered, meaning that the initial information entered are modified. This can cause serious problems when going back to check sales made.
Anybody knows how to lock access to completed sales records?
Thanks
Set up a User Level Security System in Access with 'Read Only' Access for the general Users and full access to those who you would want to modify the Sales Data. This is not an easy undertaking, and to be perfectly honest, it is very confusing to anyone not familiar with it. Make sure to backup your Workgroup Information File (System.mdw) in the event you decide to proceed with the Security approach and research it thoroughly. Tools ==> Security ==> User Level Security Wizard will put you on the right path to setting up User Level Security.
Apr 23 '07 #2
samm12
3
Thank you very much for your kind help!!

:)
Dec 26 '09 #3
missinglinq
3,532 Expert 2GB
Setting up security does, indeed, seem like a drastic way of simply preventing a previously existing record from being edited, if the title "Lock past transactions" is to be taken at face value!

Why not simply lock existing records?

This locks existing records:
Expand|Select|Wrap|Line Numbers
  1. Private Sub Form_Current()
  2.  Me.AllowEdits = Me.NewRecord
  3. End Sub
Since mistakes will be made, someone in authority will need to be able to correct them. I use an innocent looking label, usually the form title, and in its OnClick event allow editing.
Expand|Select|Wrap|Line Numbers
  1. Private Sub LabelClickedToEdit_Click()
  2.  Me.AllowEdits = True
  3. End Sub
Depending on the savvy of your users, you may want to take steps to prevent the users from directly accessing the tables.

Welcome to Bytes!

Linq ;0)>
Dec 26 '09 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

7
by: John Bailo | last post by:
I'm seeing some odd locking behavior when using an DB2400 database and running an ado.net transaction. My code -- in simplified form, appears at the bottom. I want to run several INSERT...
8
by: xixi | last post by:
i am using db2 v8.1 windows 64 bit with fp3, i check db2diag.log , there is message stating ADM5502W The escalation of "1540" locks on table "xxx.xxx" to lock intent "X" was successful. what...
9
by: Lara | last post by:
Hello freaks, we have many problems with our online reorg and no idea how to resolve it. We had to do an online reorg beacause of 24 h online business. We start the reorg-statements (table by...
5
by: Uwe C. Schroeder | last post by:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, maybe my mind is stuck, but here's something strange. This is the classic "counter" thing, where you can't / won't use sequences....
2
by: Roopesh | last post by:
Hi, In my mod_python project I am using mysql as the database. There is table card in which unique cards are stored. When a user request comes he has to get a unique card. In this situation I want...
94
by: Samuel R. Neff | last post by:
When is it appropriate to use "volatile" keyword? The docs simply state: " The volatile modifier is usually used for a field that is accessed by multiple threads without using the lock...
7
by: m.gelosa | last post by:
Dear all, I got a problem on db2 for aix running a high workload messaging system with more than 5,000,000 of deliveries per day. During high peak hours it happens frequently that the...
18
by: dunleav1 | last post by:
I have db2 9 installation and I think our application isn't handling locking optimally. I have Maxlocks(96) and locklist (104832) setup to be auto tuned. The value of these parameters in the...
1
by: Laurence | last post by:
Hi, DB2/400 seems not able to auto-rollback one of transactions while dead- lock occurred. I called the procecure QSYS.CREATE_SQL_SAMPLE for creating sample database, and used ISQL (STRSQL)...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.