Index
2011-03-27 09:35Jerry Foote : Missing line end
2011-03-27 09:47Jerry Foote : RE: Missing line end
2011-03-28 04:17Alan Bourke : Re: Missing line end
Back to top
Missing line end

Author: Jerry Foote

Posted: 2011-03-27 09:35:08   Link

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

---

_______________________________________________

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/4F9D4B79410F4B9BBCEAF8C3454CE7EA@jerryfootePC

** 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 Jerry Foote
Back to top
RE: Missing line end

Author: Jerry Foote

Posted: 2011-03-27 09:47:00   Link

Opps, my bad

The problem was with the statement

Fputs(FHANDLE,

Alltrim(shipload.Key)+","+Alltrim(shipload.commodity),TRANSFORM(shipload.rec

v))

Should have been..

Fputs(FHANDLE,

Alltrim(shipload.Key)+","+Alltrim(shipload.commodity)+","+TRANSFORM(shipload

.recv))

Sorry Jerry

-----Original Message-----

From: profox-bounces@leafe.com [mailto:profox-bounces@leafe.com] On Behalf

Of Jerry Foote

Sent: Sunday, March 27, 2011 8:35 AM

To: 'ProFox Email List'

Subject: Missing line end

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/CCC7181777EC4236BD16A144BB4A3519@jerryfootePC

** 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 Jerry Foote
Back to top
Re: Missing line end

Author: Alan Bourke

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

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