PC Review


Reply
Thread Tools Rate Thread

Audit trail writing everything!

 
 
KateB
Guest
Posts: n/a
 
      9th Jan 2008
Hi,

I downloaded a sample audit trail db from Roger Carlson's website which is
brilliant and does everything I want. Except! I only want it to record
changes to existing records, whereas at the moment it records entries to new
records too. It doesn't do it on the sample db, therefore I must have missed
something out. The only thing I didn't copy over was the On Delete event
procedure, as if a record is completely deleted it will show by the fact the
autonumber is missing - or is this also tied in to not recording every
field's original entry?

Sorry this is a bit vague - if I need to provide more info please let me
know. BTW, I only 'dabble' in Access so idiot-guide response would be
helpful!

Many thanks
 
Reply With Quote
 
 
 
 
Douglas J. Steele
Guest
Posts: n/a
 
      9th Jan 2008
I'm not familiar with Roger's application, but Allen Browne has one at
http://www.allenbrowne.com/AppAudit.html

Maybe between the explanation Allen gives and what Roger has, you'll be able
to figure out what you're missing.

Guessing, I'd think that in the form's BeforeUpdate event, you'd need to
check whether Me.NewRecord is true, and not execute the code if it is.

--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)


"KateB" <(E-Mail Removed)> wrote in message
news:0D9D00C6-A183-4057-A515-(E-Mail Removed)...
> Hi,
>
> I downloaded a sample audit trail db from Roger Carlson's website which is
> brilliant and does everything I want. Except! I only want it to record
> changes to existing records, whereas at the moment it records entries to
> new
> records too. It doesn't do it on the sample db, therefore I must have
> missed
> something out. The only thing I didn't copy over was the On Delete event
> procedure, as if a record is completely deleted it will show by the fact
> the
> autonumber is missing - or is this also tied in to not recording every
> field's original entry?
>
> Sorry this is a bit vague - if I need to provide more info please let me
> know. BTW, I only 'dabble' in Access so idiot-guide response would be
> helpful!
>
> Many thanks



 
Reply With Quote
 
KateB
Guest
Posts: n/a
 
      10th Jan 2008
Thanks Doug, I really can't see any reason why it does it, and its also
horrendously slow, so I'm going to try Allen Browne's version instead and see
if that's better. Many thanks for the advice!

Kate

"Douglas J. Steele" wrote:

> I'm not familiar with Roger's application, but Allen Browne has one at
> http://www.allenbrowne.com/AppAudit.html
>
> Maybe between the explanation Allen gives and what Roger has, you'll be able
> to figure out what you're missing.
>
> Guessing, I'd think that in the form's BeforeUpdate event, you'd need to
> check whether Me.NewRecord is true, and not execute the code if it is.
>
> --
> Doug Steele, Microsoft Access MVP
> http://I.Am/DougSteele
> (no e-mails, please!)
>
>
> "KateB" <(E-Mail Removed)> wrote in message
> news:0D9D00C6-A183-4057-A515-(E-Mail Removed)...
> > Hi,
> >
> > I downloaded a sample audit trail db from Roger Carlson's website which is
> > brilliant and does everything I want. Except! I only want it to record
> > changes to existing records, whereas at the moment it records entries to
> > new
> > records too. It doesn't do it on the sample db, therefore I must have
> > missed
> > something out. The only thing I didn't copy over was the On Delete event
> > procedure, as if a record is completely deleted it will show by the fact
> > the
> > autonumber is missing - or is this also tied in to not recording every
> > field's original entry?
> >
> > Sorry this is a bit vague - if I need to provide more info please let me
> > know. BTW, I only 'dabble' in Access so idiot-guide response would be
> > helpful!
> >
> > Many thanks

>
>
>

 
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
RE: Audit Trail help - Passing values to audit table. PJFry Microsoft Access VBA Modules 1 9th Apr 2009 09:19 PM
audit trail 5361011 Microsoft Access Getting Started 1 24th Nov 2008 05:15 PM
Audit Trail =?Utf-8?B?UmF5?= Microsoft Access 1 17th Nov 2006 08:52 AM
Audit Trail =?Utf-8?B?RG91Z20=?= Microsoft Access Forms 1 14th Jan 2005 07:20 PM
Audit Trail Code Not Using All Audit Types =?Utf-8?B?VEw=?= Microsoft Access Form Coding 1 10th Jan 2005 10:19 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:30 PM.