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

absolute value

Status
Not open for further replies.

wdbouk

Technical User
May 28, 2003
81
CA
Hi all,

I am wondering how to calculate the absolute values in access. I have a huge database and I want to transform negative number to positive ones.
Thanks
 
Since this is the tables and relationship forum, I'm not entirely sure what to answer, but if you're contamplating doing this through coding or queries, I'd take a look at the ABS() function:

Roy-Vidar
 
I want to transform negative number to positive ones
UPDATE yourTable SET yourField=-yourField
WHERE yourField<0;

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top