G
Guest
HI,
Appreciate if someone could help me on the following problem. I have a
button to
export a table to text file with fixed width format.
1) How to write the code to export the field at the correct position ?
2) Some of the fields are numeric data types. By default the said fields in
the
exported file will be aligned to the left. I want it to be aligned to
the right.
Eg. Table 1
Data Type Start Size/Width
field1 Text 1 3
field2 Text 4 9
field3 Numeric 13 16
Eg.
By Default :
xxxyyyyyyyyy123.45
xxxyyyyyyyyy12345.67
xxxyyyyyyyyy1234567.89
I want it to be aligned to the right as below:-
xxxyyyyyyyyy 123.45
xxxyyyyyyyyy 12345.67
xxxyyyyyyyyy 234567.89
TQ so much.
Appreciate if someone could help me on the following problem. I have a
button to
export a table to text file with fixed width format.
1) How to write the code to export the field at the correct position ?
2) Some of the fields are numeric data types. By default the said fields in
the
exported file will be aligned to the left. I want it to be aligned to
the right.
Eg. Table 1
Data Type Start Size/Width
field1 Text 1 3
field2 Text 4 9
field3 Numeric 13 16
Eg.
By Default :
xxxyyyyyyyyy123.45
xxxyyyyyyyyy12345.67
xxxyyyyyyyyy1234567.89
I want it to be aligned to the right as below:-
xxxyyyyyyyyy 123.45
xxxyyyyyyyyy 12345.67
xxxyyyyyyyyy 234567.89
TQ so much.