Results 1 to 3 of 3
  1. #1
    Gina Maylone is offline Always learning
    Windows 7 64bit Access 2013
    Join Date
    Jun 2013
    Location
    Afton, MN
    Posts
    544

    Angry Dlookup probem


    I think I am losing my mind. I have written hundreds of dlookup/dlast/dfirst statements, and this one refuses to LOOKUP! All I get is flashing error
    Code:
    =DLast("AddendumNum","addendums","jobnum=me.jobnum")
    . Have tried several variations of the criteria. Have verified all names and spelling. Have verified there is data. Have created a query to display the last addendum number. Have deleted the field and created a new one. Have repaired and compacted. Anyone?

  2. #2
    JoeM is offline VIP
    Windows XP Access 2007
    Join Date
    Jun 2012
    Posts
    3,904
    For your Criteria argument (the last one), use:
    Code:
    "jobnum=" & [jobnum]

  3. #3
    Gina Maylone is offline Always learning
    Windows 7 64bit Access 2013
    Join Date
    Jun 2013
    Location
    Afton, MN
    Posts
    544
    OMG! Thank YOU!! Joe M! You SAVED my sanity!!!!

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

Similar Threads

  1. Dlookup
    By emanual4real in forum Forms
    Replies: 3
    Last Post: 06-19-2013, 03:09 PM
  2. Should I be using Dlookup
    By parishpete in forum Programming
    Replies: 6
    Last Post: 11-08-2012, 05:39 AM
  3. Dlookup, please help
    By Anthony88 in forum Access
    Replies: 9
    Last Post: 04-17-2012, 11:33 AM
  4. Help with DLookUp
    By focosi in forum Forms
    Replies: 10
    Last Post: 08-08-2011, 07:53 AM
  5. dlookup help
    By gsantacruz in forum Programming
    Replies: 9
    Last Post: 10-11-2010, 11:46 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