RE: TXT file with vfp9

Author: Richard Kaye

Posted: 2011-03-25 at 07:19:20

I agree with Paul. Sounds like you're getting just LF inside your DO WHILE loop. Here's another idea for getting your results. Untested, of course... <g>

sele dcdetail

scan for len(alltrim(dcdets))>0

m.Text2Export= m.Text2Export+iif(not(empty(m.Text2Export),chr(13)+chr(10),[])+ m.Text2Export

endscan

if not empty(m.Text2Export)

m.Text2Export= m.Text2Export+CHR(13)+CHR(10)

strtofile(m.Text2Export,[DCSCHED.TXT])

endif

--

rk

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

From: profoxtech-bounces@leafe.com [mailto:profoxtech-bounces@leafe.com] On Behalf Of Paul McNett

Sent: Friday, March 25, 2011 12:11 AM

To: profoxtech@leafe.com

Subject: Re: TXT file with vfp9

On 3/24/11 7:25 PM, Sytze de Boer wrote:

> In one of my systems, I create a TXT file which is then imported by

> banking software I've never had a problem with this, until today The

> code is 10 years old or more.

_______________________________________________

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/DF1EEF11E586A64FB54A97F22A8BD04419225925C6@ACKBWDDQH1.artfact.local

** 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 Richard Kaye