Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Export Table to TEXT file and right-justify the output

Status
Not open for further replies.

oliveapm

Programmer
Jun 7, 2005
2
US
I'd like to export a table data to a text file (fixed-width) and would like to RIGHT-JUSTIFY - space or zero filled the outcome (numbers or currency fields). Would anyone know how to do it? Thank you...
 
Have a look at the Format function.

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Hi PHV;
Thanks for your input. I did try the format function (table-fields property), and on display they look okay (right justified and all). But when exported to text-file, the text alignment is gone...
 
I suggested the Format function used in the query the export is based on.

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top