dondark
06-06-2007, 06:57 AM
Hey,
I have a paramter query that I am viewing in a form. The paramter query obtains the value from a previously opened form (i.e. paramter = [forms]![textbox value]).
I want to count the total number of records that the query pulls up, and also count the total number of records that meet specifc criteria (i.e. field A = X). I know dcount can do this normally, but I have read everywhere it does not work with parameter queries.
Any advice on how to do this?
I have a paramter query that I am viewing in a form. The paramter query obtains the value from a previously opened form (i.e. paramter = [forms]![textbox value]).
I want to count the total number of records that the query pulls up, and also count the total number of records that meet specifc criteria (i.e. field A = X). I know dcount can do this normally, but I have read everywhere it does not work with parameter queries.
Any advice on how to do this?