D
dchendrickson
I am using Access2002/XP Pro and writing code primarily
with ADO structures.
Is there a way to use the DCount() function on a
recordset? (I wrote a little sample procedure and DCount
returns a type mismatch error if a recordset variable is
used as the domain.)
I have a recordset that contains two types of records -
the number of each type is unknown. I would like to know
how many of the total records belong to each type. I know
I can walk the recordset and keep track of things myself,
but I was wondering if there was something cleaner that
will return the information?
Thanks,
-dc
with ADO structures.
Is there a way to use the DCount() function on a
recordset? (I wrote a little sample procedure and DCount
returns a type mismatch error if a recordset variable is
used as the domain.)
I have a recordset that contains two types of records -
the number of each type is unknown. I would like to know
how many of the total records belong to each type. I know
I can walk the recordset and keep track of things myself,
but I was wondering if there was something cleaner that
will return the information?
Thanks,
-dc