Results 1 to 3 of 3
  1. #1
    raffi is offline Advanced Beginner
    Windows 7 64bit Access 2013
    Join Date
    Mar 2014
    Location
    Inside a Sub Procedure
    Posts
    88

    Query Totals Sum 0

    Hello i have a query with Totals, and i have all my fields grouped up except the qty field which has the sum in it, and the qty keeps going up and down sometimes it hits 0.



    is it possible to hide the grouped up record which has 0 ? i tryed something out but didn't work i created a table with Complete/Incomplete in it, and set an IIF statement in the qeury which says

    Code:
    IIF sum = 0 then ([Transaction Types].[Complete/Incomplete]="Complete",([Transaction Types].[Complete/Incomplete]="Incomplete"
    my goal is to hide the 0 in the subform, within the mainform. and if theres anyway of hiding the record with 0 it would greatly be appreciated

    Thank You.

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,550
    No, no iifs. In the query criteria, cant you just put Sum([field) <> 0?

  3. #3
    raffi is offline Advanced Beginner
    Windows 7 64bit Access 2013
    Join Date
    Mar 2014
    Location
    Inside a Sub Procedure
    Posts
    88
    well it worked, i feel terrible im such a noob in vba i have to learn more... but thanks i would like to thank you for the help u have provided me with, and again thanks for the help

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

Similar Threads

  1. Replies: 2
    Last Post: 04-30-2014, 03:01 PM
  2. Unusual Sub Totals & Totals in Groups.
    By Robeen in forum Reports
    Replies: 12
    Last Post: 03-20-2012, 08:55 AM
  3. Replies: 5
    Last Post: 12-06-2011, 11:18 AM
  4. Month totals and Year totals
    By marksnwv in forum Access
    Replies: 1
    Last Post: 08-05-2011, 10:13 AM
  5. query - totals
    By mslieder in forum Access
    Replies: 0
    Last Post: 02-22-2006, 06:11 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