Results 1 to 2 of 2
  1. #1
    haqm1960 is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Jul 2016
    Posts
    1

    Dcount in Access 2010 query

    I am using following query but Dcount is not working, I tried various way and help from net, not working. Your are the expert people, could you please check

    SELECT


    DCOUNT(opo.[PO Number]) AS [po],
    Count(opo.[Item Number]) AS [Item Number],
    Sum(opo.[Total value]) AS [SumOfTotal value],
    Sum(opo.Quantity) AS SumOfQuantity,
    Sum(opo.[Qty delivered]) AS [SumOfQty delivered], opo.Vendor,
    opo.Name,
    opo.[Delivery Status]


    FROM opo




    GROUP BY
    opo.Vendor,
    opo.Name,
    opo.[Delivery Status];

  2. #2
    CJ_London is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,412
    'not working' is not very helpful - you should be getting an error message which will help to explain.

    So far as I can see, you should be using count, not dcount.

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

Similar Threads

  1. fuction like dcount in access
    By theyad75 in forum Queries
    Replies: 8
    Last Post: 11-23-2014, 01:25 PM
  2. Replies: 6
    Last Post: 11-05-2014, 03:00 PM
  3. Replies: 6
    Last Post: 07-07-2014, 09:13 AM
  4. dcount function - new to Access VBA
    By jillp in forum Programming
    Replies: 7
    Last Post: 09-20-2012, 06:35 AM
  5. Replies: 0
    Last Post: 07-31-2012, 12:25 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