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!

txt file creation

Status
Not open for further replies.

rgw

Technical User
Sep 14, 2000
70
US
I normally use Monarch for writing and reading txt files which go back and forth to the bank. I would like to reduce the use of extrnal programs and have VFP do it--with the low level file functions. I'm having trouble re-creating the tips on the subject in the forum. Wonder if anyone could give me the code to say take a 5 record dbf and turn it into a 5 line txt using the low-level functions.
Many thanks.
 
Many thanks. Works beautifully.
 
I'm thinking:

USE MyTable
COPY TO MyOutFile.Txt SDF
USE IN MyTable

or

USE MyTable
SCAN
STRTOFILE(MyCharCol+STR(MyNumCol),"MyOutFile.txt",.T.)
ENDSCAN
USE IN MyTable Jon Hawkins

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