I'm trying to use the DLookup function to return a value in a form from a table that is different from the table the form is created from.
Original Table is called: CT Armed Forces
Form is called: SAD - Create Order
The other table is called: Base Pay
Based on the individual's grade, I am trying to have it return the correct base pay for that grade.
Here is what I have:
=DLookUp("[Pay Grade]","[Base Pay]","[Pay Grade] = " & [Forms]![SAD - Create Order]![Grade])
"Pay Grade" is the Field Name in the "Base Pay" Table
"Grade" is the Field Name is the Field Name in the Form and the "CT Armed Forces" table.
What I get is the message"#Error" flashing repetitively.