dbTalk Databases Forums  

Math SUM() - - Database amounts lack positive / negative

comp.database.ms-access comp.database.ms-access


Discuss Math SUM() - - Database amounts lack positive / negative in the comp.database.ms-access forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Dig314
 
Posts: n/a

Default Math SUM() - - Database amounts lack positive / negative - 08-19-2004 , 03:32 PM






I need to Total the amounts for each Property ID in a table.
All the amounts are stored as positive in the database.
Based on a transaction code, the amount should be added or subtracted.
There are about 14 transaction codes, but here is an example:

Transaction Code "Addition" - - add the amount
Transaction Code "Disposal" - - subtract the amount

Can this be done in single select statement ?

Thank you for your assistance!

Dig

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.