Results 1 to 4 of 4
  1. #1
    akbigcat86 is offline Novice
    Windows Vista Access 2007
    Join Date
    Jul 2010
    Posts
    17

    Mask for dcount criteria

    Is there any way to code the criteria for dcount so that certain characters are free to be any value? I am trying to count the number of records that fit a certain format, such as AF_0034_100_X0 where the X0 could be X followed by any number.



    Thank you in advance!

  2. #2
    pbaldy's Avatar
    pbaldy is online now Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    21,774
    I believe you can use both the "*" and "?" wildcards in a DCount. You'd need Like instead of =.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    akbigcat86 is offline Novice
    Windows Vista Access 2007
    Join Date
    Jul 2010
    Posts
    17
    Thank you very much that worked perfectly

  4. #4
    pbaldy's Avatar
    pbaldy is online now Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    21,774
    No problemo.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

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

Similar Threads

  1. custom mask
    By RedGoneWILD in forum Reports
    Replies: 2
    Last Post: 08-04-2010, 03:23 PM
  2. DCount realtime
    By Patience in forum Access
    Replies: 2
    Last Post: 06-24-2010, 06:20 AM
  3. day of week input mask
    By jacko311 in forum Programming
    Replies: 7
    Last Post: 11-15-2009, 12:56 PM
  4. Input mask
    By doobybug in forum Access
    Replies: 2
    Last Post: 06-17-2009, 09:40 PM
  5. Dcount on report
    By mattbrem in forum Reports
    Replies: 2
    Last Post: 06-06-2009, 01:33 AM

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 - Senior Forums