G
Guest
I am curious about using the Dcount function on a query that isn't "stored"
and named...
the query runs in the AfterUpdate of a textbox... the user enters the search
criteria and the results are returned on a subform. this works fine.
now, how to count the records in the results that have a CategoryID=1?
when I try to use the DCount function, what do I use as the domain??
....Dcount("[CategoryID]", "WHAT HERE???", "[CategoryID]=1")
and named...
the query runs in the AfterUpdate of a textbox... the user enters the search
criteria and the results are returned on a subform. this works fine.
now, how to count the records in the results that have a CategoryID=1?
when I try to use the DCount function, what do I use as the domain??
....Dcount("[CategoryID]", "WHAT HERE???", "[CategoryID]=1")