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

Hi. I'm trying to set the 'format' 1

Status
Not open for further replies.

Joshy

Programmer
Mar 8, 2001
14
0
0
CA
Hi. I'm trying to set the 'format' and 'decimal' properties for a field
(type - "number") of a table using macro, so that I can round off decimals
places. Does anyone know what action I use? I think its probably one
of the many build-in functions in the "run-code" action, but which
one?
table name is [tbl_HouseData] and fields [temp1], [temp2]...
thanks :)
 
this will make the number have 2 deciaml places
In a report or form
=format(Me![temp1],"##.00")

In a query
Expr1: Format([temp1],"#.00")

DougP, MCP

Visit my WEB site to see how Bar-codes can help you be more productive
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top