Re: How to create a .TXT

2008-07-21 Thread Ricardo Araoz
MB Software Solutions General Account wrote: > Eurico Chagas Filho wrote: >> Hi >> >> Thanks guys, I will start with strtofile() it is easier at this >> moment, but latter I will change to a COPY TO. >> > > > I use Jeff's way: I do a CREATE CURSOR, fill in the values, then do a > COPY TO Output

RE: How to create a .TXT

2008-07-19 Thread Sietse Wijnker
PROTECTED] [mailto:[EMAIL PROTECTED] Namens Allen Verzonden: vrijdag 18 juli 2008 14:11 Aan: [EMAIL PROTECTED] Onderwerp: RE: How to create a .TXT 1/ Create a var with your text and StrToFile it 2/ fcreate / fopen / fwrite or fputs fclose 3/ textmerge For formatting you don't say if its char fiel

Re: How to create a .TXT

2008-07-18 Thread MB Software Solutions General Account
Eurico Chagas Filho wrote: > Hi > > Thanks guys, I will start with strtofile() it is easier at this > moment, but latter I will change to a COPY TO. > I use Jeff's way: I do a CREATE CURSOR, fill in the values, then do a COPY TO Output.txt TYPE SDF. _

RE: How to create a .TXT

2008-07-18 Thread Eurico Chagas Filho
Hi Thanks guys, I will start with strtofile() it is easier at this moment, but latter I will change to a COPY TO. E. ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this lis

Re: How to create a .TXT

2008-07-18 Thread Jeff Johnson
All of my applications do this - usually for transferring files to SAP, ADP or mainframe applications. I create a table with the column widths I need and populate the table then do a COPY TO formatted.txt TYPE SDF. HTH Jeff Jeff Johnson [EMAIL PROTECTED] SanDC, Inc. 623-582-0323 Fax 623-86

RE: How to create a .TXT

2008-07-18 Thread Virgil Bierschwale
ly 18, 2008 7:36 AM To: profox@leafe.com Subject: Re: How to create a .TXT On Fri, Jul 18, 2008 at 7:56 AM, Eurico Chagas Filho <[EMAIL PROTECTED]> wrote: > > I have to create a formatted .txt, some data in specified columns, > with pre-determinate sizes. > What is a good

Re: How to create a .TXT

2008-07-18 Thread Ted Roche
On Fri, Jul 18, 2008 at 7:56 AM, Eurico Chagas Filho <[EMAIL PROTECTED]> wrote: > > I have to create a formatted .txt, some data in specified columns, > with pre-determinate sizes. > What is a good way of doing it ? > In addition to Allen's excellent suggestions, there are the commands COPY TO and

RE: How to create a .TXT

2008-07-18 Thread Allen
1/ Create a var with your text and StrToFile it 2/ fcreate / fopen / fwrite or fputs fclose 3/ textmerge For formatting you don't say if its char fields or what. For numbers I prefer padl and date/datetime ttoc Allen -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On B