Alignment of Zero Values

C

Craig

I am using Access XP. I have this re-occurring problem regarding alignment
of numbers in reports.

For numbers, I always overwrite the existing format and replace it with
something like the following: $#,###.00;($#,###.00);-;-

The zeros will be replaced with a "-". However, the zero values never
"right-align" with any existing values. They are always a space or two over.
Example:

$1,299.00
$2,389.00
-
-
3,500.00

etc....

Anyone else run into this issue?

Thanks for the help.
 
M

Marshall Barton

Craig said:
I am using Access XP. I have this re-occurring problem regarding alignment
of numbers in reports.

For numbers, I always overwrite the existing format and replace it with
something like the following: $#,###.00;($#,###.00);-;-

The zeros will be replaced with a "-". However, the zero values never
"right-align" with any existing values. They are always a space or two over.
Example:

$1,299.00
$2,389.00
-
-
3,500.00

etc....


That's because of the ) in the negative format. Access
takes care of it automatically for positive values, but not
for a constant string such you are using.

Try using something like:

$#,###.00;($#,###.00);"- ";"- "

with however many spaces after the - makes you happy ;-)
 
C

Craig

Thanks. That seemed to do the trick.
--
Craig


Marshall Barton said:
That's because of the ) in the negative format. Access
takes care of it automatically for positive values, but not
for a constant string such you are using.

Try using something like:

$#,###.00;($#,###.00);"- ";"- "

with however many spaces after the - makes you happy ;-)
 

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