Access Dlookup Matching Problem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • skbrede
    New Member
    • Nov 2008
    • 5

    Access Dlookup Matching Problem

    Has anyone else had trouble with Access Dlookup function ? It works fine with a numeric matche criteria, but will not work with a "text" compare!! Would appreciate any help anyone has. If not is there any other way to read a field from a table directly into a local variable ??
  • puppydogbuddy
    Recognized Expert Top Contributor
    • May 2007
    • 1923

    #2
    Text criterion have a different syntax. see this link for details and examples:

    Comment

    • missinglinq
      Recognized Expert Specialist
      • Nov 2006
      • 3533

      #3
      Also note that the same syntax is used for other similar functions such as DCount() and DMax().

      Welcome to Bytes!

      Linq ;0)>

      Comment

      • skbrede
        New Member
        • Nov 2008
        • 5

        #4
        Thank you both !! Problem solved

        Comment

        • missinglinq
          Recognized Expert Specialist
          • Nov 2006
          • 3533

          #5
          Glad we could help!

          Linq ;0)>

          Comment

          Working...