Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Format number to percent in concatenated field (runtime)

Status
Not open for further replies.

number2

Technical User
Oct 25, 2001
284
US
I need to format percent number in a concatenated field:
"Mr Smith was measured as having 45% of normal ..." I need to format the number to a percent. Now I get "0.450000".

Also, I remember that I was having difficulty with Access Runtime and concatenated default fields which contained special formating. Can Runtime accurately display such formated concatenated default values?

Thanks
 
Something like:

MsgBox "Mr Smith was measured as having " & FormatPercent(Me.txtPct, 2) & " of normal ..."

would probably work.

Hth
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top