Table Field Lookup Value based on ther Column Field

ilcaa72

Registered User.
Local time
Today, 17:23
Joined
Nov 27, 2016
Messages
38
With a Table I want to do I lookup based on the value of another field, exactly like a Vlookup in Excel. I am trying the DLookup but dont know if this is what i need.

Here is a visual (attachment) to help understand what i need. This is the DLookup()

DLookUp([tblAnswers]![AnswerNumber], [tblAnswers], [ResponseTracker]![QuestionID])
 

Attachments

  • Access_LookupValue.png
    Access_LookupValue.png
    35.4 KB · Views: 312
Try this syntax :
DLookUp("AnswerNumber","tblAnswers","QuestionID=" & [ResponseTracker]![QuestionID])
 

Users who are viewing this thread

Back
Top Bottom