HI Jeff, thanks for your help
I have never in 20 years of foxpro even looked at Fopen, Fwrite etc

Can you spare 30 secs and share how to use FPUTS ?


On Thu, Nov 27, 2008 at 10:25 AM, Jeff Johnson <[EMAIL PROTECTED]> wrote:
> I do this often by creating a string for each line and then outputting
> using FPUTS() low-level file operation.  I usually use the COPY TO
> myfile.csv TYPE CSV but I use the low-level method when I have a memo field.
>
> HTH
>
> Jeff
>
> Jeff Johnson
> [EMAIL PROTECTED]
> SanDC, Inc.
> 623-582-0323
> Fax 623-869-0675
>
> Phoenix Python User Group - [EMAIL PROTECTED]
>
> Sytze de Boer wrote:
>> Can someone help me out please
>>
>> My client requires me to produce a file with car details for their
>> website developers
>> The website developers asked me to transfer the information to them per csv 
>> file
>>
>> One of the columns is a MEMO field which I translate into a string so
>> it becomes a column in the csv file.
>> I truncate the string to 255 chars because excel is limited to column
>> widths of 255 chars
>> (and the remainder becomes another column)
>>
>> The web people tell me that since a csv file is a text file, this
>> splitting process is not required.
>> How can I make a csv file where the memofield is not split ?
>>
>> --
>> Regards
>> Sytze de Boer
>> Kiss Systems
>> Hamilton, NZ
>> Ph: 64-7-8391670, Mob:021 937611,
>> www.kiss.co.nz
>>
>
>
[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