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-869-0675 Phoenix Python User Group - [EMAIL PROTECTED] Eurico Chagas Filho wrote: > Hi > > I have to create a formatted .txt, some data in specified columns, > with pre-determinate sizes. > What is a good way of doing it ? > > TIA, E. > > > [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/[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.