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

Logging User Actions

Is there a way to log user actions?

What I would like is to be able to log user activities within the database.

The table “tblUserEvents” would contain two fields. Field one “EventTime”
would be a date/time stamp of when the action was performed. Field two
“EventDescription” would be a description of the action performed.

Example 1: the user presses the Add button. The date/time is inserted into
“EventTime” and the words “the user pressed the add button” is inserted into
“EventDescription” field within the “tblUserEvents”.

Example 2: the user presses the Close button. The date/time is inserted into
“EventTime” and the words “the user pressed the close button” is inserted
into “EventDescription” field within the “tblUserEvents”.
I would have multiple events being logged all with their own specific
descriptions.

Thanks

--
Message posted via http://www.accessmonster.com

Jan 10 '08 #1
1 2907
The good news is, you can write VBA code in the event procedures to call
your own event logger. The bad news is, to log events, you have to write VBA
code in the event procedures to call your own event logger. On the other
hand, if you use a third-party add-in such as MZTools or FMS' CodeTools, you
can pre-build logging into the structure of your procedure code and it won't
be much trouble.

I'd suggest you think carefully what additional information you might be
able to use to debug problems... the time and description seem to me to be a
very minimal amount of data to bother logging.

Larry Linson
Microsoft Access MVP
"pushrodengine via AccessMonster.com" <u36225@uwewrote in message
news:7df95a69105b2@uwe...
Is there a way to log user actions?

What I would like is to be able to log user activities within the
database.

The table "tblUserEvents" would contain two fields. Field one "EventTime"
would be a date/time stamp of when the action was performed. Field two
"EventDescription" would be a description of the action performed.

Example 1: the user presses the Add button. The date/time is inserted into
"EventTime" and the words "the user pressed the add button" is inserted
into
"EventDescription" field within the "tblUserEvents".

Example 2: the user presses the Close button. The date/time is inserted
into
"EventTime" and the words "the user pressed the close button" is inserted
into "EventDescription" field within the "tblUserEvents".
I would have multiple events being logged all with their own specific
descriptions.

Thanks

--
Message posted via http://www.accessmonster.com

Jan 10 '08 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Marcin | last post by:
Hi, The problem is the following: I have experienced some ASP errors in my web application and I'm unable to reproduce those errors because IIS is configured in a way that does not send any...
3
by: Gram | last post by:
Hello, Can anoyone help me with the following: I have a application online using ASP in which users log in and log out. However, a lot of users simply close the window, bypassing my log-out...
1
by: Bill Belliveau | last post by:
Couple of questions about event logging. 1. Aside from the fields such as user, computer, etc – what are the size limits of the description and data fields (if any). I couldn’t find this...
1
by: ramA | last post by:
I would like to log specific web user requests and other specific actions to a file in XML format to analyze site usage and track users.I would appreciate it if anyone can suggest or point me to...
3
by: Chris Smith | last post by:
Hola, pythonisas: The documentation for the logging module is good, but a bit obscure. In particular, there seems to be a lot of action at a distance. The fact that getLogger() can actually be a...
2
by: philip.mckee | last post by:
Hi Looking for some very general advice. I have a classic asp content management application which I am porting to ASP.NET. The database is SQL server, and it is hoped that we can leverage this...
3
by: nicholas.petrella | last post by:
I am currently trying to use the python logging system as a core enterprise level logging solution for our development and production environments. The rotating file handler seems to be what I...
1
by: ludvig.ericson | last post by:
Quote from the docs: FORMAT = "%(asctime)-15s %(clientip)s %(user)-8s %(message)s" logging.basicConfig(format=FORMAT) d = {'clientip': '192.168.0.1', 'user': 'fbloggs'}...
6
by: Larry Bates | last post by:
Every time I look at the logging module (up until now) I've given up and continue to use my home-grown logger that I've been using for years. I'm not giving up this time ;-) I find that I...
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: 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
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
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: 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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

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.