Gianni:
I know this! And I apologize for putting it in the wrong order. Too much Turkey 
and my brain was clouded <bg>.
I didn't correct myself because Efren said he solved his problem with fputs.
Regardless all is fixed!
Regards,

Jack Skelley


________________________________________
From: [EMAIL PROTECTED] [EMAIL PROTECTED] On Behalf Of Gianni Turri [EMAIL 
PROTECTED]
Sent: Thursday, November 27, 2008 7:55 PM
To: [EMAIL PROTECTED]
Subject: Re: Carriage Returnn on a Text File

Hi Efren and Jack,

the problem was in the sequence:
not CHR(10) + chr(13)
but CHR(13) + chr(10)

But fputs() does it by itself...

--
Gianni

On Thu, 27 Nov 2008 19:07:21 -0500, Jack Skelley <[EMAIL PROTECTED]> wrote:

>Efren:
>Try adding a line feed with the chr(13)
>        FWRITE (lnFileHandle, c001numped + "|" + CHR(10) + chr(13))
>Regards,
>
>Jack Skelley
>
>________________________________________
>From: [EMAIL PROTECTED] [EMAIL PROTECTED] On Behalf Of Efren Pedroza [EMAIL 
>PROTECTED]
>Sent: Thursday, November 27, 2008 6:56 PM
>To: [EMAIL PROTECTED]
>Subject: Carriage Returnn on a Text File
>
>Hi there, I'm trying to write an ASCII file using Visual Fox Pro, everithing
>is ok, but ..... I can't put an carriage return after each record, when I
>see the result file, I see just a one record, I thing shoulb be very simple
>
>
>My code:
>
>------------------------------------------------------------
>USE AT001 IN 1 ORDER I001C02
>lnFileHandle = FCREATE('Interf2008.txt')
>
>SELE 1
>DO WHILE .NOT. EOF()
>
>        FWRITE (lnFileHandle, c001numped + "|" + CHR(13))
>
>        SELE 1
>        SKIP
>ENDDO
>
>FCLOSE(lnFileHandle)
>------------------------------------------------------------


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

Reply via email to