path name and wild card

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rcollins
    New Member
    • Aug 2006
    • 234

    path name and wild card

    Here is the criteria I am using for my report...
    Code:
    (Permissions.Path)=[Forms]![frmCriteria]![Combo4])
    On the criteria form, if I pick R:\Acct\ from the list, I get just those values. I would like to get more, like R:\Acctg\EXCEL\ ACCOUNTS PAYABLE, but am not sure how to use the wild card here. So far all of my attempts have been not good. Please help
  • NeoPa
    Recognized Expert Moderator MVP
    • Oct 2006
    • 32633

    #2
    Usually the following should work :
    Code:
    (Permissions.Path) Like [Forms]![frmCriteria]![Combo4]) & '*'

    Comment

    • rcollins
      New Member
      • Aug 2006
      • 234

      #3
      Worked great not sure what I was missing

      Comment

      • NeoPa
        Recognized Expert Moderator MVP
        • Oct 2006
        • 32633

        #4
        Your code was basically saying "Find only those items which match the string exactly".
        My version says "Find all items that start with the string".

        Comment

        Working...