You could use textmerge also, the '\' at the start of the line does a
CR/LF.
Set Textmerge On Noshow
Set Textmerge To Shipload.txt
Select shipload
Scan
\<<Alltrim(shipload.key)>>,<<Alltrim(shipload.commodity)>>,<<Transform(Shipload.recv)>>
endscan
Set textmerge off
Set textmerge to
On Sun, 27 Mar 2011 08:35 -0500, "Jerry Foote"
<[email protected]> wrote:
> Sytze de Boer
>
> I saw your post and today I ran into the same problem. The difference is
> with the OS Windows 7 64bit
>
> The code should work fine, it does in XP. I'm not get carrage return or
> line
> feed.
>
> The vfp help file for fputs states "Writes a character string, carriage
> return, and line feed to a file opened with a low-level file function."
>
>
>
> Anybody have a idea why I'm having this problem with win7
>
>
>
>
>
> FHANDLE = Fcreate('SHIPLOAD.TXT')
>
> Go Top
>
> Scan
>
> Fputs(FHANDLE,
> Alltrim(shipload.Key)+","+Alltrim(shipload.commodity),TRANSFORM(shipload.rec
> v))
>
> Endscan
>
> =Fclose(FHANDLE)
>
>
>
>
>
>
>
> --- StripMime Report -- processed MIME parts ---
> multipart/alternative
> text/plain (text body -- kept)
> text/html
> ---
>
[excessive quoting removed by server]
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message:
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the
author, and do not constitute legal or medical advice. This statement is added
to the messages for those lawyers who are too stupid to see the obvious.