General information
Title:
Directing text to a .txt file
Environment versions
Network:
Windows 2000 Server
Attempting to create and maintain a log file (.txt) and am using the following commands with code:
SET ALTERNATE ON
SET ALTERNATE TO
SET ALTERNATE TO '&app_dir'+'auto_launch_'+CHRTRAN(DTOC(DATE()),'/','')+'.txt' ADDITIVE
then
tasks(lp_cntr,10) = DATE()
log_file_entry = SPACE(200)
log_file_entry = TIME()+' '+DTOC(DATE())+' '+process_to_run
? '&log_file_entry'
The desired text is displayed on the Foxpro window and not written to file.
Any ideas are welcome and appreciated!!
Joe
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only