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: [email protected] [mailto:[email protected]] 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: [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/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.

