Re: Missing line end

Author: Alan Bourke

Posted: 2011-03-28 at 04:17:33

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"

<jerryfoote@bellsouth.net> 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: ProFox@leafe.com

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/1301300253.4951.1434560517@webmail.messagingengine.com

** 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.

©2011 Alan Bourke