Results 1 to 4 of 4
  1. #1
    deepaksharma is offline Competent Performer
    Windows 7 32bit Access 2016
    Join Date
    Jul 2023
    Location
    india
    Posts
    389

    coding question

    what is difference between dmax and dcount code..?

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,643
    They are both domain aggregate functions and have the same structure. https://documentation.help/MS-Access...xDomainRef.htm
    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.

  3. #3
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    6,273
    The first gives you the maximum value for a field.
    The second gives you a count of how many records.

    Criteria can apply to both.
    Please use # icon on toolbar when posting code snippets.
    Cross Posting: https://www.excelguru.ca/content.php?184
    Debugging Access: https://www.youtube.com/results?sear...bug+access+vba

  4. #4
    deepaksharma is offline Competent Performer
    Windows 7 32bit Access 2016
    Join Date
    Jul 2023
    Location
    india
    Posts
    389
    Right.... Thanks.....

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

Similar Threads

  1. Basic Coding Question - Novice
    By PinkLady50 in forum Access
    Replies: 8
    Last Post: 03-22-2018, 01:24 PM
  2. MS Access vba AfterUpdate coding question.
    By Allen Sundholm in forum Forms
    Replies: 10
    Last Post: 05-25-2017, 04:01 AM
  3. Coding for Sum in vba
    By glen in forum Programming
    Replies: 14
    Last Post: 12-20-2012, 05:10 PM
  4. Quick coding-orginization question
    By Ashe in forum Forms
    Replies: 2
    Last Post: 09-16-2011, 09:35 AM
  5. Coding question
    By kzoli62 in forum Access
    Replies: 1
    Last Post: 07-04-2011, 05:09 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