DCount with a ADODB.recordset as a domain?

C

Cory

In an effort to cut down on the insane amount of time it is taking to conduct
a large number of queries on an approxiamately 6000-8000 record database, I
have created a recordset that represents some common criteria between a
number of the queries so that I can requery from it in a loop and expect
faster results.

What I want to do is run a For Loop that executes a DCount that uses the
recordset as a domain. What happens however is that it always returns "Type
Mismatch". I have tried puting the recordset in quotes (in a vain attempt to
make peace with the offending method) which only resulted in "Jet Database
cannot find a Table named rcFacilityRecSet."

I need a way to get a record count of the records matching a subset of the
Recordset. I am...getting a little frustrated.


Cory
 
C

Cory

Sorry. I could have sworn that I was writing this in the Access Programming
page... I think the browser returned me to the wrong page after logging with
WindowsLiveID.


Cory
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top