Results 1 to 2 of 2
  1. #1
    kish1983 is offline Novice
    Windows XP Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    1

    Unhappy DLOOKUP in Access Query

    Hi,

    How to use DLOOKUP in access query

    I have 2 table,

    table one table has equipment name & table 2 contain equipment name with completion date

    I need query to retrieve date from table 2 as per value of code in table 1

    I tried to use DLOOKUP to do this, but getting some error

    ID Equipment Name D/C Join Date
    1 W-14018-Vardhaman-H 9405 12-Mrz-15
    2 W-14018-Vardhaman-H 9406 13-Mrz-15
    3 W-14018-Vardhaman-H 9407 20-Mrz-15
    4 W-14018-Vardhaman-H 9407 09-Mrz-15

    ID Equipment Name
    14 W-14018-Vardhaman-H 9403
    1 W-14018-Vardhaman-H 9404
    2 W-14018-Vardhaman-H 9405
    3 W-14018-Vardhaman-H 9406
    4 W-14018-Vardhaman-H 9407


    I am using below expression in query, but cant get the date


    Expr1: DLookUp([D/C Join]![D/C Join Date];[D/C Join];[Equipment Name]=[Equipment Name])

    pls help to correct this expression

  2. #2
    evander is offline Competent Performer
    Windows 8 Access 2007
    Join Date
    Apr 2010
    Location
    Philippines
    Posts
    206
    You should try using an outer join first. DLOOKUP consumes a lot of system resources. You have to avoid it as much as possible.

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

Similar Threads

  1. DLookUp in a Query
    By jerryh in forum Access
    Replies: 11
    Last Post: 11-28-2014, 01:13 PM
  2. dlookup on query
    By molly13 in forum Access
    Replies: 3
    Last Post: 10-21-2014, 09:00 AM
  3. Replies: 6
    Last Post: 08-08-2014, 05:22 PM
  4. Replies: 15
    Last Post: 07-27-2014, 10:04 AM
  5. Dlookup in query
    By Bertrand82 in forum Queries
    Replies: 9
    Last Post: 11-14-2012, 06:42 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