473,395 Members | 1,379 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.

Help - Log Transaction

Hi

I created a database application for the company I'm working and as part of
the CFR Part 11 it is a requirement for al the application that are for
manufacturing us to have some security option like employee account to log
on in the database and a transaction log to register al the activities that
has occurred and saved with the employees name who made the transaction or
the changes.

But I don't have an idea on how to create this transaction log file. Could
someone give me a hand on this? I would really appreciate any help.

Thanks,
Evelyn

Nov 13 '05 #1
3 5151
"Evelyn Pabón" <ep****@coqui.net> wrote:
I created a database application for the company I'm working and as part of
the CFR Part 11 it is a requirement for al the application that are for
manufacturing us to have some security option like employee account to log
on in the database and a transaction log to register al the activities that
has occurred and saved with the employees name who made the transaction or
the changes.


There's a simple example at
ACC2000: How to Create an Audit Trail of Record Changes in a Form
http://support.microsoft.com/default...;en-us;Q197592

Audit Trail - Log changes at the record level at:
http://users.bigpond.net.au/abrowne1/AppAudit.html
The article addresses edits, inserts, and deletes for a form and subform.

Modules: Maintain a history of changes
http://www.mvps.org/access/modules/mdl0021.htm
The History Table routine is designed to write history records that track the changes
made to fields in one or more tables.

However one problem is that with Access anyone can get at the tables and muck with
them directly. For true security you'd have to go to SQL Server as a backend.

Why did you cross post to the VB newsgroups as well? Are you working in Access or
VB?

Tony
--
Tony Toews, Microsoft Access MVP
Please respond only in the newsgroups so that others can
read the entire thread of messages.
Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm
Nov 13 '05 #2
You will have to create these yourself, by limiting the users to accessing
the data via your forms (and not allowing them direct access to tables or
queries). You can log the user's entry in startup code, and their exit in
the Close event of a form kept open but invisible the entire life of a
session. Transactions, you will have to define for yourself and write either
to a table in the database or to a file.

There is no "option" setting to automatically do what you want. Many server
databases do have automatic logging features. Access can be used to create
client applications for many server databases, but the one for which most
information is available is Microsoft SQL Server.

Larry Linson
Microsoft Access MVP

"Evelyn Pabón" <ep****@coqui.net> wrote in message
news:Zn****************@fe39.usenetserver.com...
Hi

I created a database application for the company I'm working and as part of the CFR Part 11 it is a requirement for al the application that are for
manufacturing us to have some security option like employee account to log
on in the database and a transaction log to register al the activities that has occurred and saved with the employees name who made the transaction or
the changes.

But I don't have an idea on how to create this transaction log file. Could someone give me a hand on this? I would really appreciate any help.

Thanks,
Evelyn

Nov 13 '05 #3
Evelyn,
I created my own code to do this a few years ago (no, I don't have the
source anymore--it was for a client) in a few days of work. But given the
option I'd go with SQL Server as the back end database because it logs
stuff, has pretty decent security, and is generally the better database over
Jet/Access.

"Evelyn Pabón" <ep****@coqui.net> wrote in message
news:Zn****************@fe39.usenetserver.com...
Hi

I created a database application for the company I'm working and as part
of
the CFR Part 11 it is a requirement for al the application that are for
manufacturing us to have some security option like employee account to log
on in the database and a transaction log to register al the activities
that
has occurred and saved with the employees name who made the transaction or
the changes.

But I don't have an idea on how to create this transaction log file.
Could
someone give me a hand on this? I would really appreciate any help.

Thanks,
Evelyn

Nov 13 '05 #4

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

Similar topics

9
by: tech_guru | last post by:
Hello!! I am relatively new to SQL and am having a problem. I have taken over a SQL 2000 db that did not have any backup plans scheduled for it. I created a maintenance plan that backs up the...
0
by: DotNetJunkies User | last post by:
I am writing a distributed transaction code. My current scenario include a client database(Suppose client- having 4 main database) which can be installed anywhere which would connect to a public...
2
by: Neeper | last post by:
I'm writing an application that displays a list of transactions from a mysql database. The problem I am having is I need the user to be able to view the last x transactions but there needs to be an...
4
by: jimh | last post by:
I'm not a SQL expert. I want to be able to write a stored procedure that will return 'people who bought this product also bought this...'. I have a user table that links to a transaction table...
2
by: plsullivan63 | last post by:
Is a single transaction log created for a database or, if you have a primary and a secondary file group in that database, are two transaction logs generated? Yep, a newbie. Thanks, Phil
2
by: Christian Stooker | last post by:
Part one: ====== Hi ! I want to use SQLite database like the FireBird database: with big isolation level. What's that meaning ? I have an application that periodically check some input...
7
by: Siv | last post by:
Hi, I have a stored procedure that I want to execute and then wait in a loop showing a timer whilst it completes and then carry on once I get notification that it has completed. The main reason...
1
by: alfie27 | last post by:
Hi, Here is what the final output to the screen should look like. Below this is the code I have so far. Can someone please help me as to what i need to do next?? I'm really clueless right now. ...
0
by: alfie27 | last post by:
Hi, I am getting 2 errors when i try to run my program. This is my first time using the struct feature so i'm not sure how to correct my errors. Any help will be greatly appreciated. Here are the...
15
by: Jay | last post by:
I have a multi threaded VB.NET application (4 threads) that I use to send text messages to many, many employees via system.timer at a 5 second interval. Basically, I look in a SQL table (queue) to...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
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...

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.