Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Code to Print the Event.log?

Status
Not open for further replies.

SMCmtg

Programmer
Mar 27, 2000
90
US
When debugging and we turn on the event.log (which I save in my project directory), is there some code we could use to turn off the the Event.log, and print it directly to the printer without leaving vfp6 as we are debugging our code?

Thank you,

Tim
 
Hi Tim,

Use SET EVENTLIST to specify what events to track.

Use SET EVENTTRACKING to turn eventtracking ON/OFF and specify the file to direct output.

Use SET('EVENTTRACKING',1) to retrieve the name of the file output is being directed to.

As far as automating it goes, try recording a macro and assigning it to some key combination. The next time you need to do it, it's only a keypress away. Jon Hawkins
jonscott8@yahoo.com

The World Is Headed For Mutiny,
When All We Want Is Unity. - Creed
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top