Re: TXT file with vfp9

Author: Richard Quilhot

Posted: 2011-03-25 at 18:24:44

Have to checked the version of the printer driver on the PC in question?

You might want to look into the StrToFile() command as a way to bypass using

the print rountine.

Rick Q

quilhotr@gmail.com

On Fri, Mar 25, 2011 at 6:10 PM, Sytze de Boer <sytze.kiss@gmail.com> wrote:

> Guys, thank you for your input.

> However, whatever the problem is, why is this only occurring at one site

> and

> not at 500 others.

> That is why I think it is system or printer related, rather than anything

> in

> my code

>

> S

>

>

>

> On Sat, Mar 26, 2011 at 12:19 AM, Richard Kaye <RKaye@artfact.com> wrote:

>

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

> >

> >

[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/AANLkTinzWDtX53gM3sKsHkcN2Y+SGbKreb1QPpnG-D64@mail.gmail.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.

©2011 Richard Quilhot