In Table1 there are many individuals. The individuals can can have values 1 - 10 for the variable DepCode.
In Table2 there are only the variables DepCode and Department. The variable Department contains the 10 DepCode values translated to text.
I want to look up the DepCode in Table2 and have the Department text transferred to a new variable, why not Department, in Table1.
I thought I could use LOCATEC or WHERE, but I get the error message: "The function X????? is unknown, or cannot be accessed.".
How could I solve this simple programming problem?
Susan