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

text endtext

Status
Not open for further replies.

vfpgolfer

Programmer
Oct 16, 2004
76
US
I have program in vfp8 where I create a text file using fcreate then have multiple text endtext routines putting data into that file then fclose the file - this works fine.

In vfp9 I only get data from the first text endtext routine. I see other data going to console (even tho set console to off) but data is not going into txt file. Is this a bug or....
 
i modified the code so that after the first text endtext

text
<<lctext>>
endtext

* bunch of calculations
SET CONSOLE off
SET TEXTMERGE on TO (lcfilename) additive
text
<<newdata>>
endtext

Now works - but without the second set console off and set textmerge on, didn't work.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top