Display dollar values?

J

Jim

Hello,
I have a report formatted as a deposit slip that has the whole dollar amout
and cents seperated by a line. ie 100|00
If the cents amount doesn't end in a zero, everything works the way it
should. But if the amout ends in a zero it only displays one character
instead of two.
What I need is 100|10 and what I get now is 100|1 I am using the formula
=Right([DepositChecks],2) Does anyone know how to fix this? If I use
=Right([DepositChecks],3) then it displays the decimal like this 100|.9 I'm
using Access 2003.
Thanks for any help

Jim
 
J

John L Barton

Check the text control WIDTH. If the width of the two characters is
too wide for the WIDTH parameter, then you may be losing on digit that
way.

I had this happen with some W2s this year. It only affected mine and
my brother's W2s. I only noticed it when I noted that my own fed tax
amount was much too small; it was missing the left most digit. Unlike
Excel, which produces visible indications that the field can't display
some indication of the magnitude of the value in a cell, Access seems
quite happy to just truncate, from either the left or the right
depending on the formatting, the value that should be displayed with
no indication that anything is amiss.

A trap for the unwary.





Jim said:
Hello,
I have a report formatted as a deposit slip that has the whole dollar amout
and cents seperated by a line. ie 100|00
If the cents amount doesn't end in a zero, everything works the way it
should. But if the amout ends in a zero it only displays one character
instead of two.
What I need is 100|10 and what I get now is 100|1 I am using the formula
=Right([DepositChecks],2) Does anyone know how to fix this? If I use
=Right([DepositChecks],3) then it displays the decimal like this 100|.9 I'm
using Access 2003.
Thanks for any help

Jim
jbarton, detroit
 

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

Similar Threads


Top