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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Format a number within a text box.

Status
Not open for further replies.

hefly

Technical User
Feb 6, 2008
134
US
How do I format a number in a text box on a report?

I have the following expression in a text box on my report:

Code:
="as listed in the " & [County] & " County, " & [State] & " totaling " & [LEGALACRES] & " acres, more or less."

I have formatted LegalAcres as three decimal places in both my table and in the query that the report is based upon. Yet, the report carries the number represented by the field [LegalAcres] out to 12 decimal places.

How do I format that field to "standard" number type and 3 decimal places?

Thank you.

Hefly
 
I got it!

Code:
="as listed in the " & [County] & " County, " & [State] & " totaling "& Format([LegalAcres], "#,##0.00")" acres, more or less."

Thanks!

Hefly
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top