Hello,
I have a sticky problem.
Project deals with staff evaluations, and I have a system working, albeit in a frustrating / inefficient way.
Problem:
10 staff members each have to fill out an evaluation (online) for the all other staff members.
I have 2 tables currently.
tblUsers
UserID
FirstName
LastName
tblAnswers
ForID
ByID
Q1
Q2
...etc...
Lets put some names to this.
Max, Charlie and Vern
I would like to run a query that tells me who has and HAS NOT filled out an evaluation for everyone else, looking like this.
Staff Member Evaluation ON Status
Max Charlie Complete
Vern Incomplete
Charlie Max Incomplete
Vern Incomplete
Vern Max Complete
Charlie Complete
Right now I get only those who have filled out evals (i.e. has a record in the tblAnswers). I have tried LEFT OUTER JOIN, still only get those that have a record in tblAnswers.
Im thinking my table structure might be screwed up. Do I need 3 tables?
tblUsers
UserID
FirstName
LastName
tblAnswers
AnswerID
ForID (evaluation on what user, in this case ForID = UserID)
Q1
Q2
... etc...
tblLINK
UserID (UserID of person DOING the evaluation)
AnswerID
Relationships would be tblUser 1 --- MANY tblLINK MANY ----1 tblAnswers.
Ughhh this gives me a headache!
Thanks for any suggestions.
Matts
I have a sticky problem.
Project deals with staff evaluations, and I have a system working, albeit in a frustrating / inefficient way.
Problem:
10 staff members each have to fill out an evaluation (online) for the all other staff members.
I have 2 tables currently.
tblUsers
UserID
FirstName
LastName
tblAnswers
ForID
ByID
Q1
Q2
...etc...
Lets put some names to this.
Max, Charlie and Vern
I would like to run a query that tells me who has and HAS NOT filled out an evaluation for everyone else, looking like this.
Staff Member Evaluation ON Status
Max Charlie Complete
Vern Incomplete
Charlie Max Incomplete
Vern Incomplete
Vern Max Complete
Charlie Complete
Right now I get only those who have filled out evals (i.e. has a record in the tblAnswers). I have tried LEFT OUTER JOIN, still only get those that have a record in tblAnswers.
Im thinking my table structure might be screwed up. Do I need 3 tables?
tblUsers
UserID
FirstName
LastName
tblAnswers
AnswerID
ForID (evaluation on what user, in this case ForID = UserID)
Q1
Q2
... etc...
tblLINK
UserID (UserID of person DOING the evaluation)
AnswerID
Relationships would be tblUser 1 --- MANY tblLINK MANY ----1 tblAnswers.
Ughhh this gives me a headache!
Thanks for any suggestions.
Matts