>Greetings all - I am in need of assistance and appreciate any guidance!
>
[quoted text clipped - 5 lines]
>includes a 'count' field, whose result must be right justified and zero
>filled - how do I format the result of a counted field?
Same as any other field: e.g. this will right-justify the number in a
field padded with zeroes:
Format(COUNT([MyField]), "0000000000")
>2) To export, I used the export wizard to create an export specification
>file. I then use TransferText and this specification file. One of fields
[quoted text clipped - 5 lines]
>added the decimal and two 00 after the field - any ideas why and how do I get
>rid of it?
It sounds as if you just need to use the Format() function as above.
To right-justify and pad with spaces rather than zeroes, use something
like this:
Right(" " & Format([MyField], "0"), 10)
>Thanks in advance for any assistance!!
--
John Nurick [Microsoft Access MVP]
Please respond in the newgroup and not by email.
kipper - 28 Nov 2006 00:03 GMT
Thank you John, your answer helped me realize that I needed to correct the
problem in SQL view - the design view wouldn't let me format in the Total row.
Thanks again!
> >Greetings all - I am in need of assistance and appreciate any guidance!
> >
[quoted text clipped - 34 lines]
>
> Please respond in the newgroup and not by email.