P
Peter
Hi there. I have a table with relatively simple data. If I build a query
where the criteria uses the Like "*" & [Expr1] & "*" expression, it works
fine and returns all the records. What I'd really like to do is for the
query to provide a count of the matches rather that the records that match.
So, instead of saying here's all the "Smiths" in the table, that there were
41 Smith's returned.
I've tried changing the query to a group and counting the field but that
runs but doesn't show me a value.
Eventually, I'd like to be able to build a form where multiple queries show
the number of matches of expr1 against a number of fields in the same table
but I seem to be stuck at level 1.
Any advice or help would be greatly appreciate.
By the way, my counting will be on text and numeric fields - don't know if
that makes a difference.
Thanks
Peter
where the criteria uses the Like "*" & [Expr1] & "*" expression, it works
fine and returns all the records. What I'd really like to do is for the
query to provide a count of the matches rather that the records that match.
So, instead of saying here's all the "Smiths" in the table, that there were
41 Smith's returned.
I've tried changing the query to a group and counting the field but that
runs but doesn't show me a value.
Eventually, I'd like to be able to build a form where multiple queries show
the number of matches of expr1 against a number of fields in the same table
but I seem to be stuck at level 1.
Any advice or help would be greatly appreciate.
By the way, my counting will be on text and numeric fields - don't know if
that makes a difference.
Thanks
Peter