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 biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

printing

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
How would you go about writing code to print data in an external .txt file ?

thanx
 
I would get a .dbf version of the file using the IMPORT command. Then print it as you wish.

Jim
 
First, I'd recommend you read the following to learn how to formulate a question:

Next, research the following commands in the VFP help file:
SET PRINTER TO
SET ALTERNATE TO
STRTOFILE
COPY TO
? | ??

FYI - This is only the tip of the iceberg. There are at least 1001 ways you could do this. Jon Hawkins

The World Is Headed For Mutiny,
When All We Want Is Unity. - Creed
 
sorry wasent very spacific

I had a problem when setting it to print in FP so i was told to send the data to an external .txt file and print from there.
I got the data to go to the text file but i'm a little stuck on finding the right command to make it just print the txt file
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top