Hi - Just found this forum and it looks like it is what I was needing.
I am trying to move work from Excel to Access and don't know how to replace the vlookup function...
Scenario is quite simple:
Table A: (Name, Role)
Table B: (Type, Role)
I want to create a query that would indicate if a role in table A is valid or not depending on its existence in table B.
E.g.
Table A:
John, Engineer
Paul, Musician
George, "none selected"
Ringo, Doctor
Table B:
xxx, Engineer
yyy, Doctor
The output would look like:
John, Engineer, Valid
Paul, Musician, Invalid
George, "none selected", Invalid
Ringo, Doctor, Valid
It may be quite easy to do it but my sql skills are still quite rusty!
Thanks much.
Gerry
I am trying to move work from Excel to Access and don't know how to replace the vlookup function...
Scenario is quite simple:
Table A: (Name, Role)
Table B: (Type, Role)
I want to create a query that would indicate if a role in table A is valid or not depending on its existence in table B.
E.g.
Table A:
John, Engineer
Paul, Musician
George, "none selected"
Ringo, Doctor
Table B:
xxx, Engineer
yyy, Doctor
The output would look like:
John, Engineer, Valid
Paul, Musician, Invalid
George, "none selected", Invalid
Ringo, Doctor, Valid
It may be quite easy to do it but my sql skills are still quite rusty!
Thanks much.
Gerry