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 Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Exporting a Fixed-Width Text File

Status
Not open for further replies.

elaineva

Programmer
Nov 14, 2002
35
US
When I export a table that contains number or currency fields to a fixed-width text file, the numbers in these fields become left-aligned automatically.

Does anyone know how I can export these fields and make them right-aligned??
 
Check the data types of the fields that are coming out
left-aligned. They are probably actually text rather than
numbers. If you can change the fields to numbers and do
the export, they should come out right-aligned.
 
mikevh: no, Access uses left-adjusted fields to export numbers too (apropos, it's standard for fixed length text export)...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top