DaveyEdgar
Technical User
Hi all!
O.K. heres what I got and what I tried from the other similar posts' solutions.
TblEmployees
-employeeID
-name
TblEvaluations
-evalID
-employeeID
-evaluator
-evalDate
TblQuestions (a total of 10 questions/records)
-questionID
-question
-answer
So 1 employee can have many evaluations. The evaluation form is populated with the questions by a command button.
The queryevaluations has the above fields in it.
The Report:
EmployeeID Group Header / Ascending
EvalDate Group (no header or footer) / Descending
EvalID Group Header / Ascending
Nothing in the Detail Section
The EvalID Footer has just the total score.
I want a text field at the Report Header that will count distinctly the amount of evaluations total. For example If there is a total of 4 evaluations done, my "=count(evalID)" control source should say "4". However, it says "40", because the query includes 10 questions/records for each evaluation.
I tried this...
1. Make an additional Sort/Group on evalID
2. In the evalID footer, put a tiny text box. Make its control source =1, and Running Sum Over Group. Let's call it txtevalID
3. Make the evalID footer small, and set Visible to No.
4. In the Report Header, put a text box that has its control source as txtevalID
...but the text box in the header always shows "1"
I tried this...
You could try an unbound text box with its control source set to =Sum(Abs(evaluationID))
... but it shows "#Error"
Any ideas on how I can make this work? I apologize if my explanation is confusing ;-P
Thanks a million for your help!
(This is 'Onliner' by the way, for some reason that account isn't working)
O.K. heres what I got and what I tried from the other similar posts' solutions.
TblEmployees
-employeeID
-name
TblEvaluations
-evalID
-employeeID
-evaluator
-evalDate
TblQuestions (a total of 10 questions/records)
-questionID
-question
-answer
So 1 employee can have many evaluations. The evaluation form is populated with the questions by a command button.
The queryevaluations has the above fields in it.
The Report:
EmployeeID Group Header / Ascending
EvalDate Group (no header or footer) / Descending
EvalID Group Header / Ascending
Nothing in the Detail Section
The EvalID Footer has just the total score.
I want a text field at the Report Header that will count distinctly the amount of evaluations total. For example If there is a total of 4 evaluations done, my "=count(evalID)" control source should say "4". However, it says "40", because the query includes 10 questions/records for each evaluation.
I tried this...
1. Make an additional Sort/Group on evalID
2. In the evalID footer, put a tiny text box. Make its control source =1, and Running Sum Over Group. Let's call it txtevalID
3. Make the evalID footer small, and set Visible to No.
4. In the Report Header, put a text box that has its control source as txtevalID
...but the text box in the header always shows "1"
I tried this...
You could try an unbound text box with its control source set to =Sum(Abs(evaluationID))
... but it shows "#Error"
Any ideas on how I can make this work? I apologize if my explanation is confusing ;-P
Thanks a million for your help!
(This is 'Onliner' by the way, for some reason that account isn't working)