I have a list box (status box) based on a query (daily status query) with fields Rank, Last Name, First Name, MI, MOS, Status, Remarks (the list box is bound to Last Name). Status is a combo box with 6 possible values. I need to count the instances of each value and display each count at the bottom of the form. I have tried every possible way I can think to write the expression, using count, dcount, counting in a seperate query and then sum on the column but it always comes up #error. I have also tried using count on the table directly. I have even tried putting a subform in the form based on the query and using count with the subform.
=Count([Soldier Data subform1].Form!Status="Present For Duty")
I'm not real familiar with count so perhaps I'm not using the proper format for the expression. Thanks for any help.
=Count([Soldier Data subform1].Form!Status="Present For Duty")
I'm not real familiar with count so perhaps I'm not using the proper format for the expression. Thanks for any help.