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

Change Totals from Positive to Negative or Vise Versa 1

Status
Not open for further replies.

cschnable

Programmer
May 24, 2001
36
US
In a query is there a way to change a calculated amount form Negative to Positive - such as ($63,568.00) to $63,568.00

I actually want to append field totals to another table and when they are appended I want to reverse the + and - figures.
 
Instead of:
SELECT Sum(amount) As Total
Try:
SELECT -Sum(amount) As Total

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