I need to conver number (dollars) into text so I can inser...

O

Ofer

I need to create a macro that will conver dollar amount (lets say $110) into
text so I can insert it as part of a text field (lets say "What you need to
pay is $110).
Can I do this? Can anyone help me with this? THANKS!!!
 
D

Dennis

Don't understand why you need a Macro

Text = "What you need to pay is " & CStr(dollaramount)
 
S

Steve Schapel

Ofer,

I assume you mean you have a dollar amount in a field in your database?
Is this right? You would do this in a calculated field in a query or
a calculated control on your form or report. Let's say your field is
called Amount. So, in the Control Source of an unbound textbox on your
form, you would put...
="What you need to pay is $" & [Amount]
 
O

Ofer

Steve,
YES!!! THANK YOU!!! YOU SAVED ME!!! THANKS A LOT

Steve Schapel said:
Ofer,

I assume you mean you have a dollar amount in a field in your database?
Is this right? You would do this in a calculated field in a query or
a calculated control on your form or report. Let's say your field is
called Amount. So, in the Control Source of an unbound textbox on your
form, you would put...
="What you need to pay is $" & [Amount]

--
Steve Schapel, Microsoft Access MVP

I need to create a macro that will conver dollar amount (lets say $110) into
text so I can insert it as part of a text field (lets say "What you need to
pay is $110).
Can I do this? Can anyone help me with this? THANKS!!!
 
O

Ofer

Dennis,
Yes, sometimes its good to ask someone for help just to realize that you
were making things way too complicated. Thanks!!
 

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