Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dumping info to a text file
Message
From
12/01/2000 04:37:06
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00316550
Message ID:
00316769
Views:
14
Hi Chris,

You don't need to set <<>> around plain text.


>Hi all
>
>I'm having a few problems dumping information from a table to a text file. The first couple of lines in the txt file need to be header data, while the rest is just info dumped from a table:
>
> SET TEXTMERGE TO filename.TXT NOSHOW
> SET TEXTMERGE ON
> SELECT table
> GO TOP
> \<<'"3A"'>><<','>><<'000000'>><<','>><<'0000'>> etc etc
> \<<'"3B"'>><<','>><<'000000'>><<','>><<'0000'"'>> etc etc
>
> DO WHILE .NOT. EOF()
> \<>
> SKIP
> ENDDO
>
>The problem is that the header lines are about 500 characters, and while I can get the first line in the text file ("3A") - when I try to include the second line ("3B"), the system hangs itself. I've tried to use the @SAY command however this says that the string is too long.
>
>Does anyone know if there are limitations (eg string length) on using the "\" command??
>
>Any help, comments would be appreciated!
>
>
>Thanks
>
>Chris Kable
>FuelTrac
Benn Kjaer
MS Certified Professional - Visual Foxpro

"There is something rotten in the state of Denmark"
"Why make user-friendly programs, when there aren’t any friendly users :o)"
Previous
Reply
Map
View

Click here to load this message in the networking platform