D
David
1. I have a linked Excel Table containing standard job assessment
ratings. Each column is a particular Job description i.e. 'Administrator',
'Accountant', 'Secretary' etc. and each of 27 rows contains a specific job
requirement i.e. Typing, Project Management, Database Management etc. Each
cell contains a value representing the standard ability or skill level that
a person in a specific job should have.
2. I also have an Employee job assessment table where their assessed
aptitude or competence is recorded for each specific job requirement.
3. I am trying to create a query that will link the Employee with his/her
Job Description and current aptitude to the linked table, to determine
training requirements.
4. Now the problem!!! How can I use the Employee's 'Job Description' to
lookup 'the correct column' in the linked table in order to return the
standard that will be compared to the assessed value. Another way to put
this might be 'how do I put a variable on the left side of WHERE clause is
SQL? (Select * from --- WHERE ExcelTable.variable (i.e. Accountant) =
Employee.JobDescription;
(I can not change the layout of the linked Excel table, as it is used
elsewhere, and may also be updated from time to time beyond my control -
therefore the link.)
If anyone has suggestions, I would be much appreciate some help, or any
other ideas on how to get values out of a table when both the row and column
are variables.
David
ratings. Each column is a particular Job description i.e. 'Administrator',
'Accountant', 'Secretary' etc. and each of 27 rows contains a specific job
requirement i.e. Typing, Project Management, Database Management etc. Each
cell contains a value representing the standard ability or skill level that
a person in a specific job should have.
2. I also have an Employee job assessment table where their assessed
aptitude or competence is recorded for each specific job requirement.
3. I am trying to create a query that will link the Employee with his/her
Job Description and current aptitude to the linked table, to determine
training requirements.
4. Now the problem!!! How can I use the Employee's 'Job Description' to
lookup 'the correct column' in the linked table in order to return the
standard that will be compared to the assessed value. Another way to put
this might be 'how do I put a variable on the left side of WHERE clause is
SQL? (Select * from --- WHERE ExcelTable.variable (i.e. Accountant) =
Employee.JobDescription;
(I can not change the layout of the linked Excel table, as it is used
elsewhere, and may also be updated from time to time beyond my control -
therefore the link.)
If anyone has suggestions, I would be much appreciate some help, or any
other ideas on how to get values out of a table when both the row and column
are variables.
David