EXPORT TABLE TO TEXT FILE

G

GW

Hi,

Glad if someone could help me. I'm trying to export a table to text file
using "fixed width" option. Why the data type for doubles were aligned to the
left in the exported text file? Is there any way to align the said data type
to the right ?

TQ.
 
D

Douglas J. Steele

GW said:
Hi,

Glad if someone could help me. I'm trying to export a table to text file
using "fixed width" option. Why the data type for doubles were aligned to
the
left in the exported text file? Is there any way to align the said data
type
to the right ?

Not when exporting a table. However, you can create a query that has a
calculated field that does it for you, and export the query instead of the
table.

To have a 20 byte field right-aligned, use something like:

Right(Space(20) & [MyNumericField], 20)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top