Format Currency field into zero filled text field

M

Marcie

I have a field that can be blank or contain a currency amount. No matter
what the value is I want it to be a zero filled field. So for $9.99 I want
0000999 for a blank field i want 0000000 if it is $990.00 I want 0099000. It
seems I can get parts to work.

Format(Salary, "0000000") returns the amount rounded so I lose cents if I
use Format(Salary, "00000.00") i get it to work but have to manually remove
space.

The other problem I am having is having it zero fill when no value
Thanks,
Marcie
 

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