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!

Can I make a positive number negative?

Status
Not open for further replies.

stacey78

Technical User
Nov 14, 2001
2
AU
I have a report RPT INVOICES based on query QRY INVOICES. In this query there are invoices "I" and credit notes "C". All the money values for these are positive. What I need to do is in the report make these credit note values as a negative so I can total these values up accurately. How can I do this?
 
Hi,

This query produces negative numbers:

SELECT [fieldName]-(2*[fieldName]) AS negativeNumber
FROM [TableName];

Hope this is ok. If not, just let me know.

Nick (Everton Rool OK!)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top