Formatting a value

S

Sandra

I obtain a value for a field from a combo box using
= GetID.column(1) in the Control Source. The original
value is formatted as Currency, but when it appears in
the field it is numeric and I have tried every place I
know to reformat to Currency with no success. How do I
do this?

TIA,
Sandra
 
W

Wayne Morgan

You say you are getting the value for a field, I assume you are getting the
value for an unbound textbox. I tried what you have said and setting the
Format property of the textbox to Currency does not get the job done. What
did work was changing the control source.

=Format(GetID.Column(1), "Currency")
 
M

Michel Walsh

Hi,

If everything else fails, try to format at the level of the RowSource:


Me.GetID.RowSource=" SELECT Format( fieldName, 'currency'), ....
FROM .. "




Hoping it may help,
Vanderghast, Access MVP
 

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