I am trying to create a relationship between two tables based on multiple fields. In Excel, I would use concatenate to combine the field names into one unique value to do my vlookup. For example, I would lookup City and Department using a combined CityDepartment. How can I make this link similarly in Access tables? If I create a relationship just between City and just between Department I do not get that unique CityDepartment.
If I wanted to do a JOIN on multiple fields...why wouldn't something like this work? I am getting a syntax error.
SELECT HRBI.ID (For all fields)
FROM HRBI
LEFT JOIN MINC
ON HRBI.PayGroupRegionCode = MINC.Region AND HRBI.PayGroupCountryDesc = MINC.Country AND HRBI.[BusinessLvl1(Group)Code] = MINC.BusinessGroup;