I'm creating a query for a report that displays information about different surveys of a site. Important info includes when each survey was completed and who did the survey. In the database, the "who" is stored as a number, which can then be linked to an employee table to see their name and title.
In the query, I just link the number from the main table to the number in the employee table, and it all works fine for the first survey info. However, when I add the table again so it can link the second surveyor, I get an error message that says, "The specified field [LastName]could refer to more than one table listed in the FROM clause of your SQL statement".
Do I need to somehow rename the second [LastName] field in my query, or is there some way around this problem?
In the query, I just link the number from the main table to the number in the employee table, and it all works fine for the first survey info. However, when I add the table again so it can link the second surveyor, I get an error message that says, "The specified field [LastName]could refer to more than one table listed in the FROM clause of your SQL statement".
Do I need to somehow rename the second [LastName] field in my query, or is there some way around this problem?