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