Can't set decimal places

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have searched the posts and done everything they have said. But my report
still does not show two decimal places with a dollar sign. I have set it to
currency, auto, 2 decimal places. I have typed $#.00, $##.00, etc. Why is
this so difficult!!!!!!! By the way, I am very frustrated!!!! Thank you
very much in advance for your help!
 
Megan said:
I have searched the posts and done everything they have said. But my
report still does not show two decimal places with a dollar sign. I
have set it to currency, auto, 2 decimal places. I have typed $#.00,
$##.00, etc. Why is this so difficult!!!!!!! By the way, I am very
frustrated!!!! Thank you very much in advance for your help!

What is the ControlSource of the TextBox in question?
 
=Trim([Due date] & " " & Format([PaymentAmount],"Currency")

Since you've turned the control's contents into a string with your
statement, the control's number formatting property will not work to format
this as a number. However, you can use the Format function to accomplish
this. See above.


Megan said:
=Trim([Due date] & " $" & [PaymentAmount])

Rick Brandt said:
What is the ControlSource of the TextBox in question?
 
You are the best!!!!! It worked!!!!

That string in the control contents was put there by the program. I am very
much a novice with Access and there is no way I could have come up with that
on my own. For future reference, is there another, easier way to do the
exact same thing? I mean, one that you don't need to know Access'
programming language. :o)

John Spencer said:
=Trim([Due date] & " " & Format([PaymentAmount],"Currency")

Since you've turned the control's contents into a string with your
statement, the control's number formatting property will not work to format
this as a number. However, you can use the Format function to accomplish
this. See above.


Megan said:
=Trim([Due date] & " $" & [PaymentAmount])

Rick Brandt said:
Megan wrote:
I have searched the posts and done everything they have said. But my
report still does not show two decimal places with a dollar sign. I
have set it to currency, auto, 2 decimal places. I have typed $#.00,
$##.00, etc. Why is this so difficult!!!!!!! By the way, I am very
frustrated!!!! Thank you very much in advance for your help!

What is the ControlSource of the TextBox in question?
 
No, there's no simpler way to do it. If you want to concatenate two separate
fields as your ControlSource, you cannot use the Format property anymore.

--
Doug Steele, Microsoft Access MVP

(no e-mails, please!)


Megan said:
You are the best!!!!! It worked!!!!

That string in the control contents was put there by the program. I am very
much a novice with Access and there is no way I could have come up with that
on my own. For future reference, is there another, easier way to do the
exact same thing? I mean, one that you don't need to know Access'
programming language. :o)

John Spencer said:
=Trim([Due date] & " " & Format([PaymentAmount],"Currency")

Since you've turned the control's contents into a string with your
statement, the control's number formatting property will not work to format
this as a number. However, you can use the Format function to accomplish
this. See above.


Megan said:
=Trim([Due date] & " $" & [PaymentAmount])

:

Megan wrote:
I have searched the posts and done everything they have said. But my
report still does not show two decimal places with a dollar sign. I
have set it to currency, auto, 2 decimal places. I have typed $#.00,
$##.00, etc. Why is this so difficult!!!!!!! By the way, I am very
frustrated!!!! Thank you very much in advance for your help!

What is the ControlSource of the TextBox in question?
 

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

Back
Top