Peter,
Well that's what I'm doing now but it is a real pain to get where the error
is happening as it is a visual "refresh" problem that seems to just come and
go but is consistent on all machines so I know it isn't video card related.

A simple problem, but a pain to fix.

Oh, and we must have another flying session if you are up for it.

Dave Crozier


-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf
Of Peter Cushing
Sent: 09 July 2009 15:19
To: [email protected]
Subject: Re: Event tracking - Am I going Stupid?

Hi Dave,

Not used event tracking but sometimes I like to put in little bits of 
code that write out to a log file so I can see what is happening in a 
live environment.

IF FILE('alerts.txt')
     STRTOFILE('At start of save - User: '+ps_user + ' Style: 
'+thisform.oVars.xo_style+ps_crlf,'Save.txt',.t.)
ENDIF

I can put them in various places and depending on whether the file 
alerts.txt exists you can get output to a log file.

I've had errors that do not happen when you debug the application for 
some odd reason.  This is just a simple way of debugging.

HTH

*Peter Cushing *
IT development and support

Signature


Dave Crozier wrote:
> Guys,
> For the first time in many years I have had to resort to the event
tracking
> in the debugger to help track down an obscure fault in a small system here
> at Flexipol. 
>
> If I remember correctly, wasn't the Refresh() event on of the events you
> could track in earlier versions of VFP? If so, then where has it gone in
> VFP9 and when did it disappear??
>
> Of course I could use the coverage profiler but that doesn't really help
as
> I really need to use the results in an interactive runthrough of the form
> using lots of different operator interactions, which is where the problem
is
> being caused.
>
> Any Ideas, or did I dream it somewhere?
>
> Dave Crozier
>
> PS Have sent this 3 times now, so apologies if it appears multiple times
but
> I thnk there may have been a problem with Ed's box.
>
>
>
>
[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/a0edd5cd07624525b3811587af71e...@develop
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to