PC Review


Reply
Thread Tools Rate Thread

A.Browne's Audit Trail - Subforms

 
 
=?Utf-8?B?R2FiYnkgR2lybA==?=
Guest
Posts: n/a
 
      16th Oct 2006
Good Morning,

Can anyone tell me if using Allen Browne's Audit Trail would be different
for a main form versus a subform?

I've been using Allen's Audit trail for 3 different forms (all main forms)
and they work great. Now I've added one to a subform & everything works
except logging "EditTo" (it logs everything else).

Thanks Kindly

 
Reply With Quote
 
 
 
 
Allen Browne
Guest
Posts: n/a
 
      16th Oct 2006
The logic is identical for subforms. No changes needed.

Temporarily disable the error handling. There is most likely a field out of
order, or missing (or mis-typed) in one of the tables--either the temp or
audit most likely.

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Gabby Girl" <(E-Mail Removed)> wrote in message
news:25F75616-7B76-47F5-94ED-(E-Mail Removed)...
> Good Morning,
>
> Can anyone tell me if using Allen Browne's Audit Trail would be different
> for a main form versus a subform?
>
> I've been using Allen's Audit trail for 3 different forms (all main forms)
> and they work great. Now I've added one to a subform & everything works
> except logging "EditTo" (it logs everything else).
>
> Thanks Kindly
>



 
Reply With Quote
 
=?Utf-8?B?R2FiYnkgR2lybA==?=
Guest
Posts: n/a
 
      16th Oct 2006
Thanks Allen. I'll double check everything & let you know how it goes.

Rgds


"Allen Browne" wrote:

> The logic is identical for subforms. No changes needed.
>
> Temporarily disable the error handling. There is most likely a field out of
> order, or missing (or mis-typed) in one of the tables--either the temp or
> audit most likely.
>
> --
> Allen Browne - Microsoft MVP. Perth, Western Australia.
> Tips for Access users - http://allenbrowne.com/tips.html
> Reply to group, rather than allenbrowne at mvps dot org.
>
> "Gabby Girl" <(E-Mail Removed)> wrote in message
> news:25F75616-7B76-47F5-94ED-(E-Mail Removed)...
> > Good Morning,
> >
> > Can anyone tell me if using Allen Browne's Audit Trail would be different
> > for a main form versus a subform?
> >
> > I've been using Allen's Audit trail for 3 different forms (all main forms)
> > and they work great. Now I've added one to a subform & everything works
> > except logging "EditTo" (it logs everything else).
> >
> > Thanks Kindly
> >

>
>
>

 
Reply With Quote
 
=?Utf-8?B?R2FiYnkgR2lybA==?=
Guest
Posts: n/a
 
      16th Oct 2006
Hi again Allen

After doing everything you suggested "EditTo" still does not work. What I
have noticed though is on my form there are three fields that come from a
different table (form is based on a query, which is based on 2 different
tables-related) Could this be the problem? If so, is there a work around?

Thanks for your help.


"Gabby Girl" wrote:

> Thanks Allen. I'll double check everything & let you know how it goes.
>
> Rgds
>
>
> "Allen Browne" wrote:
>
> > The logic is identical for subforms. No changes needed.
> >
> > Temporarily disable the error handling. There is most likely a field out of
> > order, or missing (or mis-typed) in one of the tables--either the temp or
> > audit most likely.
> >
> > --
> > Allen Browne - Microsoft MVP. Perth, Western Australia.
> > Tips for Access users - http://allenbrowne.com/tips.html
> > Reply to group, rather than allenbrowne at mvps dot org.
> >
> > "Gabby Girl" <(E-Mail Removed)> wrote in message
> > news:25F75616-7B76-47F5-94ED-(E-Mail Removed)...
> > > Good Morning,
> > >
> > > Can anyone tell me if using Allen Browne's Audit Trail would be different
> > > for a main form versus a subform?
> > >
> > > I've been using Allen's Audit trail for 3 different forms (all main forms)
> > > and they work great. Now I've added one to a subform & everything works
> > > except logging "EditTo" (it logs everything else).
> > >
> > > Thanks Kindly
> > >

> >
> >
> >

 
Reply With Quote
 
SIMON HOLLAND
Guest
Posts: n/a
 
      17th Oct 2006
I DONT Know gabby why dont you go to back to what you was doing be for and
see if you can log in after.
"Gabby Girl" <(E-Mail Removed)> wrote in message
news:25F75616-7B76-47F5-94ED-(E-Mail Removed)...
> Good Morning,
>
> Can anyone tell me if using Allen Browne's Audit Trail would be different
> for a main form versus a subform?
>
> I've been using Allen's Audit trail for 3 different forms (all main forms)
> and they work great. Now I've added one to a subform & everything works
> except logging "EditTo" (it logs everything else).
>
> Thanks Kindly
>



 
Reply With Quote
 
Allen Browne
Guest
Posts: n/a
 
      17th Oct 2006
It can be done regardless of whether the form's RecordSource is a table or
query.

The temp table and audit table must have the same fields, in the same order,
and preferably with the same name. If not, the wildcard in the SQL statement
won't assign the fields correctly.

The SQL statement should throw an error if you used dbFailOnError. If not
perhaps the event is not being called. You could add a Debug.Print line to
the top of the procedure to see if it is firing.

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Gabby Girl" <(E-Mail Removed)> wrote in message
news:BFF50B49-FF22-4CBE-91D9-(E-Mail Removed)...
> Hi again Allen
>
> After doing everything you suggested "EditTo" still does not work. What I
> have noticed though is on my form there are three fields that come from a
> different table (form is based on a query, which is based on 2 different
> tables-related) Could this be the problem? If so, is there a work
> around?
>
> Thanks for your help.
>
>
> "Gabby Girl" wrote:
>
>> Thanks Allen. I'll double check everything & let you know how it goes.
>>
>> Rgds
>>
>>
>> "Allen Browne" wrote:
>>
>> > The logic is identical for subforms. No changes needed.
>> >
>> > Temporarily disable the error handling. There is most likely a field
>> > out of
>> > order, or missing (or mis-typed) in one of the tables--either the temp
>> > or
>> > audit most likely.
>> >
>> > "Gabby Girl" <(E-Mail Removed)> wrote in message
>> > news:25F75616-7B76-47F5-94ED-(E-Mail Removed)...
>> > > Good Morning,
>> > >
>> > > Can anyone tell me if using Allen Browne's Audit Trail would be
>> > > different
>> > > for a main form versus a subform?
>> > >
>> > > I've been using Allen's Audit trail for 3 different forms (all main
>> > > forms)
>> > > and they work great. Now I've added one to a subform & everything
>> > > works
>> > > except logging "EditTo" (it logs everything else).
>> > >
>> > > Thanks Kindly



 
Reply With Quote
 
=?Utf-8?B?R2FiYnkgR2lybA==?=
Guest
Posts: n/a
 
      22nd Oct 2006
Hi Allen,

I apologize for not answering sooner but I just got back. I will try to
debug to see if it's firing or not and will let you know.
Thanks again for your help.

"Allen Browne" wrote:

> It can be done regardless of whether the form's RecordSource is a table or
> query.
>
> The temp table and audit table must have the same fields, in the same order,
> and preferably with the same name. If not, the wildcard in the SQL statement
> won't assign the fields correctly.
>
> The SQL statement should throw an error if you used dbFailOnError. If not
> perhaps the event is not being called. You could add a Debug.Print line to
> the top of the procedure to see if it is firing.
>
> --
> Allen Browne - Microsoft MVP. Perth, Western Australia.
> Tips for Access users - http://allenbrowne.com/tips.html
> Reply to group, rather than allenbrowne at mvps dot org.
>
> "Gabby Girl" <(E-Mail Removed)> wrote in message
> news:BFF50B49-FF22-4CBE-91D9-(E-Mail Removed)...
> > Hi again Allen
> >
> > After doing everything you suggested "EditTo" still does not work. What I
> > have noticed though is on my form there are three fields that come from a
> > different table (form is based on a query, which is based on 2 different
> > tables-related) Could this be the problem? If so, is there a work
> > around?
> >
> > Thanks for your help.
> >
> >
> > "Gabby Girl" wrote:
> >
> >> Thanks Allen. I'll double check everything & let you know how it goes.
> >>
> >> Rgds
> >>
> >>
> >> "Allen Browne" wrote:
> >>
> >> > The logic is identical for subforms. No changes needed.
> >> >
> >> > Temporarily disable the error handling. There is most likely a field
> >> > out of
> >> > order, or missing (or mis-typed) in one of the tables--either the temp
> >> > or
> >> > audit most likely.
> >> >
> >> > "Gabby Girl" <(E-Mail Removed)> wrote in message
> >> > news:25F75616-7B76-47F5-94ED-(E-Mail Removed)...
> >> > > Good Morning,
> >> > >
> >> > > Can anyone tell me if using Allen Browne's Audit Trail would be
> >> > > different
> >> > > for a main form versus a subform?
> >> > >
> >> > > I've been using Allen's Audit trail for 3 different forms (all main
> >> > > forms)
> >> > > and they work great. Now I've added one to a subform & everything
> >> > > works
> >> > > except logging "EditTo" (it logs everything else).
> >> > >
> >> > > Thanks Kindly

>
>
>

 
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
Mr Browne's audit trail JohnE Microsoft Access Form Coding 8 30th Aug 2008 05:23 AM
Re: Allen Browne's Audit Trail =?Utf-8?B?R2FiYnkgR2lybA==?= Microsoft Access 7 3rd Jul 2006 04:44 PM
Question about Audit Trail by Allen Browne =?Utf-8?B?SmltTXVycmF5?= Microsoft Access 2 31st May 2006 04:18 PM
Allen Browne's Audit Trail Code =?Utf-8?B?VEw=?= Microsoft Access Form Coding 2 6th Jan 2005 10:25 PM
Audit Trail Using Allen Browne's Code =?Utf-8?B?Q0s=?= Microsoft Access Form Coding 0 23rd Sep 2004 10:47 AM


Features
 

Advertising
 

Newsgroups
 


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