Results 1 to 2 of 2
  1. #1
    Newbie11 is offline Advanced Beginner
    Windows 2K Access 2003
    Join Date
    Dec 2011
    Posts
    41

    Count Records

    I am working on a database that is tracking employees, the part numbers they have ordered, and if they have been shipped/backordered.

    I have a report 'qryOrderShipmentPart' that shows the Order and Shippment details for the part selected in the form 'Filter' within the specified dates. For the sake of my testing I have been working with Part #9009.



    The report works just fine there is just one more count I would like the report to display - how many of those specific parts have been ordered. That is, I can see how many parts have been shipped/backordered for Part #9009 but I would also like to see how many orders there are total for Part #9009 within the specified dates so I can calculate a shippment percentage. So far I can't get this to work. HELP...PLEASE.
    Attached Files Attached Files

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,930
    The lookup set in table caused me a little trouble but finally recognized the value of Status was really a number and not text. I never set lookups in tables.

    Use this expression for Shipped: Count(IIf([Status]=1,[Status]))
    The expression for Ordered: Count(*)
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

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

Similar Threads

  1. Count Records
    By Cheshire101 in forum Access
    Replies: 1
    Last Post: 11-30-2010, 03:02 PM
  2. Is it possible for me to count my records? how?
    By radicrains in forum Queries
    Replies: 4
    Last Post: 10-28-2010, 05:28 AM
  3. Count Unique Records
    By PonderingAccess in forum Queries
    Replies: 2
    Last Post: 08-19-2010, 06:54 AM
  4. Count of records
    By Aston in forum Access
    Replies: 2
    Last Post: 03-30-2010, 05:20 AM
  5. Count of records
    By Bruce in forum Forms
    Replies: 3
    Last Post: 03-22-2010, 01:30 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