Results 1 to 3 of 3
  1. #1
    Nalo is offline Novice
    Windows 10 Access 2016
    Join Date
    Jun 2020
    Posts
    1

    Unhappy DLookUp not defined anymore on ONE computer


    Hello,
    I use a small FRENCH Access database which is sync on my two computers via googledrive.

    In an update query, I have a windows error "DlookUp function not defined in the expression"
    This error is displayed only on my laptop. On my livingroom computer, the database is OK.

    Table1
    fieldOne fieldTwo fieldThree
    mycache 1234 5678

    Query1 (RechDom is the french for dlookup)
    Code:
     RechDom("[fieldTwo]";"Table1";"[fieldOne]='mycache'")
    Here is the SQL code
    Code:
     UPDATE Table2 SET Table2.champ2 = DLookUp("[fieldTwo]","Table1","[fieldOne]='mycache'");
    Do you know where is the problem?
    Thanks a lot for your help.
    Attached Files Attached Files

  2. #2
    Bob Fitz's Avatar
    Bob Fitz is offline Access Developer
    Windows 10 Access 2016
    Join Date
    May 2011
    Location
    Essex UK
    Posts
    3,537
    Works fine for me.

    Might you have a missing reference
    If this helped, please click the star at the bottom left of this posting and add to my reputation . Many thanks.
    Bob Fitzpatrick

  3. #3
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,524
    you don't need Dlookup in a query. Joining tables does this.
    try commas,instead of semis.

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

Similar Threads

  1. Replies: 7
    Last Post: 01-10-2020, 04:50 PM
  2. Replies: 4
    Last Post: 10-16-2017, 09:09 AM
  3. Replies: 3
    Last Post: 11-12-2013, 04:13 PM
  4. Replies: 4
    Last Post: 11-29-2012, 12:45 AM
  5. Replies: 1
    Last Post: 05-25-2012, 10:36 AM

Tags for this Thread

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