M
Mike DFR
I am trying to count the number of times one type of machine matches with a
selected name.
The name is selected from a drop down combo box, (smith, brown, jones....)
Text boxes are allocated to each machine type, (typeA, typeB, typeC.....)
The query & tables contain fields for 'machine type', and 'person name'
The text box control should return a value for;- how many times machine
'typeA', appears for person 'smith'.
I am using 'DCount' as only the number of rows are required.
I can get a total, but can not get the syntax right when trying to narrow
the search.
Text box control is required, not SQL statement or VB code.
It works as far as; =DCount("*","Masterlist","[Model]"), anything else I try
gives #ERROR.
Thanks for your help.
selected name.
The name is selected from a drop down combo box, (smith, brown, jones....)
Text boxes are allocated to each machine type, (typeA, typeB, typeC.....)
The query & tables contain fields for 'machine type', and 'person name'
The text box control should return a value for;- how many times machine
'typeA', appears for person 'smith'.
I am using 'DCount' as only the number of rows are required.
I can get a total, but can not get the syntax right when trying to narrow
the search.
Text box control is required, not SQL statement or VB code.
It works as far as; =DCount("*","Masterlist","[Model]"), anything else I try
gives #ERROR.
Thanks for your help.