Results 1 to 2 of 2
  1. #1
    maysamab is offline Novice
    Windows XP Access 2003
    Join Date
    Jun 2008
    Location
    -
    Posts
    6

    Sum Of Positive Number and Negative Number

    Dear All,
    I Have A Question When Creating Report From Following Records and Fields:



    ID Description Mark QTY
    1000 AAAA 2223 -5
    1000 AAAA 2224 6
    1000 AAAA 2225 -1
    1000 BBBB 2226 8
    1000 CCC 2227 10


    I Group By Description
    I Want To Summarise Value as three types:
    for example in Group: AAAA
    Type a Total Sum: 0
    Type b Total Negative Sum: -6
    Type c total Positive Sum : 6
    I Can Write Formula for Type a Successfully in data source of textbox (But I can't Find formula to calculate type b and c


    Please Help me as soon as possible
    Thanks

  2. #2
    jya is offline Competent Performer
    Windows XP Access 2007
    Join Date
    Sep 2007
    Location
    Chicagoland
    Posts
    109
    Perhaps not the best way, but how about creating two queries of the data where the Qty is <0 for type b and >0 for type c?

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 1
    Last Post: 03-12-2009, 09:55 AM
  2. Change Date Into Number
    By greenbag in forum Queries
    Replies: 0
    Last Post: 11-14-2008, 04:43 PM
  3. Matching positive with negative amounts
    By cwert11 in forum Access
    Replies: 1
    Last Post: 09-29-2008, 12:26 AM
  4. Number data type
    By BernardKane in forum Access
    Replies: 1
    Last Post: 11-11-2006, 08:19 PM
  5. Need help with an auto number
    By Wrangler in forum Database Design
    Replies: 1
    Last Post: 02-10-2006, 03:21 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums