Advertisement

05.29.2008 at 11:18AM PDT, ID: 23442403
[x]
Attachment Details

ADO recordset using parameter query not opening

Asked by shambalad in Microsoft Access Database

Tags: microsoft, Access, 2003

Hello -
I am trying to open an ADO recordset using a parameter query and am having problems getting it to work. At this point, it is becoming apparent to me that I need another set of eyes to look at what I am doing and tell me where I am going astray. I have attached a small mdb that illustrates my problem.
I have a table (tblBatch) with one record for each batch/subbatch.  I want to select records that were received for a given range of dates.
The query (qryBatch) works OK. For some reason, the recordset is not opening. I am actually working on a much more involved db,query and form. I had created this demo db to illustrate another problem about which I will be asking subsequent to this question. I did have a version of this code selecting just for the dates working earlier. Now it isn't (I guess I should have known it was going to be one of those days when I forgot my security badge this morning...).
The question is: why isn't this recordset opening?
Thanks,
ToddStart Free Trial
Attachments:
 
To illustrate problem opening ADO recordset with parameter query
 
[+][-]05.30.2008 at 02:21AM PDT, ID: 21676241

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Microsoft Access Database
Tags: microsoft, Access, 2003
Sign Up Now!
Solution Provided By: MikeToole
Participating Experts: 1
Solution Grade: A
 
 
[+][-]05.30.2008 at 09:16AM PDT, ID: 21679152

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.30.2008 at 10:25AM PDT, ID: 21679700

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.30.2008 at 11:16AM PDT, ID: 21680134

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.30.2008 at 11:51AM PDT, ID: 21680419

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.30.2008 at 12:46PM PDT, ID: 21680856

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.30.2008 at 01:55PM PDT, ID: 21681364

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.30.2008 at 05:10PM PDT, ID: 21682195

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628