473,382 Members | 1,431 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,382 software developers and data experts.

Logging Username info when query is modified

Ok guys and gals,

I work in a firm that uses several ms access dbs to reconcile data for multiple accounts. Problem is that many people have acces to the database window. inevitably individuals will go into our production queries and modify them inorder to get answers to their questions. Problem is that they some times forget to change them back or create new queries that leave the origionals untouched. One of the individuals is our president. Needless to say if the query is modified then our data result differs each month which really frustrates us and no one remembers changing the query.

I would like to utilize some code, if possible, that logs the machines system username and date/time every time the save command is activated in a query. I am not really sure how or if this is possible. we all work on a standard window xp network in MS access 2003. It would be real helpful if i could see who made changes to our queries and when. any ideas would be greatly appreciated. also, it is important that the solution not include forms or be too rigorous to imploy. an Auto excec macro w/ corresponding code module would be satifactory. anything more would not be accepted by the group.
Jul 23 '08 #1
4 1421
Delerna
1,134 Expert 1GB
Hmm....I don't know if that is possible.

I have a suggestion though.
1) Put the tables into one database(The Backend)
2) Put everything else into another database (The Front End)
3) Put the backend somewhere that everyone has access to.
4) Create links in the frontend to the tables in the backend.
5) Give everybody their own copy of the front end on their computer.

Now if someone changes a query it will be changed on their own copy.
The only person they will affect is themselves
Problem solved
:)
Jul 23 '08 #2
yeah, thought of something simular but it is not feasable here. I am just frustated with all the changes. there must be some way to log changes made to elements of a database. Thanks so much for your time........
Jul 23 '08 #3
I don't think that Access will allow you to create a log in the way that you describe. You could activate file auditing on the server which will keep a log of when the database was accessed and by who but it wouldn't give enough detail to say what was amended.

Could you take a copy of the query and save it for your own purposes? You could call it something obscure that people wouldn't meddle with and then at least you could be reasonably sure of its integrity.

Failing that perhaps a beating with a large stick may be in order?
Jul 23 '08 #4
lol.... I have tried the stick method, does not work well with employment longevity. But I will keep trying to figure out how to monitor modifications. Keeping a personal copy is one method, it just seems a little cumbersome and archaic..... I may have to do that though. One would think that if you can acces menue commands that you could also acces the comand events like OnClick and such.
Jul 23 '08 #5

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

Similar topics

1
by: jjesso | last post by:
I am trying to add a new logging level. logging.config.fileConfig("bengineLog.cfg") logging.CLIENT = logging.INFO + 1 logging.addLevelName( logging.CLIENT, 'CLIENT' ) logging.root.setLevel( )...
3
by: olsongt | last post by:
I'm trying to be a good boy and use the logging module but it's behaving rather counter-intuitively. I've posted a simplified test script below. To summarize, I've set the basic config to only...
3
by: JP SIngh | last post by:
Hi All We have an ASP application which tracks holidays for our employees. When the user logs in we store thier username in a session variable and use that variable when displaying and adding...
23
by: Rotem | last post by:
Hi, while working on something in my current project I have made several improvements to the logging package in Python, two of them are worth mentioning: 1. addition of a logging record field...
7
by: Jed Parsons | last post by:
Hi, I'm using the logging module for the first time. I'm using it from within Zope Extensions. My problem is that, for every event logged, the logger is producing multiple identical entries...
3
by: seb | last post by:
Hi, I am writing to a file some basic information using the logging module. It is working but in the log file some line are printed several time. I had put some print debugging messages in the...
5
keyvanrahmadi
by: keyvanrahmadi | last post by:
Hiya eyeryone, Between me and a friend of mine we are trying to figure out why the following script dosen't work, but as you can see we have failed, since i am here asking for help. <?php ...
12
by: Eric S. Johansson | last post by:
I need to to be able to conditionally log based on the method the log statement is in and one other factor like a log level. in order to do so, I need to be able to automatically find out the name...
3
by: smartic | last post by:
My problem is when i login to my website it says can't found the page in inernet explore only when i refresh the page i login to the page, that is my code in the login page: <?php...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...

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.