You can't really specify right justified formatting when exporting to a text
file; however, here is a trick you can try. First, you need to determine
what the widest the field could possibly be. In this example, we will assume
it is 12 characters. So, use a calculated field in your query with an
experession like this. It will always return a string 12 characters long:
FixedField: Space(12-Len(Format([TheField],"0.00"))) &
format([TheField],"0.00")
Change the 12 to whatever length is appropriate for you.
[TheField] would be the name of the field you need to export this way.
--
Dave Hargis, Microsoft Access MVP
phuser said:
I am exporting a qry to a text file (*.asc) and keep loosing the right
alignment in currency fields, I need to keep the 0.00 format as well.