Results 1 to 3 of 3

Thread: DLookup error

  1. #1
    Join Date
    May 2005
    Posts
    1,191

    Unanswered: DLookup error

    Can anyone tell me why the following code won't work? I've been staring at it for the past half hour strying to figure out why I keep getting an error on this line of code.
    PHP Code:
    intGroupA DLookup("[FldGroup]""TblNames""[FldName] = Nick"
    Me.Geek = True

  2. #2
    Join Date
    Feb 2004
    Location
    One Flump in One Place
    Posts
    14,912
    Nick's a string Nick. Notice anything missing to indicate to Access it is a 'string'?
    Testimonial:
    pootle flump
    ur codings are working excelent.

  3. #3
    Join Date
    May 2005
    Posts
    1,191
    Ah, forgot the 'Nick' in the criteria. Thanks.

    This works.

    PHP Code:
    intGroupA DLookup("[FldGroup]""TblNames""[FldName] = 'Nick'"
    Me.Geek = True

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •