I'm completely blanking on how to add subtotals. I'll explain clearer
below:
 
 
I have a table of itemsPurchased that includes itemID itemQty and
itemPrice.
 
<!--- simplified --->
 
SELECT itemID, itemQty, itemPrice
FROM itemsPurchased
WHERE purchaserID = '#purchaserID#'
 
 
Say person A bought
 
3 items at $10 and 
2 items at $20
 
I have no trouble arriving at the subtotals (30 and 40 in this example)
but now I want to add these for 70.
 
I can't get this . getting . tired . not thinking straight .
 
Thx,
 
gil


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:207325
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to