Hi, everyone.
I'm a struggling learner, so please be patient with my simplistic question.
I'm using VB6(SP5) and Access 2000 in my project.
I have an ADO Data Control which is assigned an Access stored query. From the resulting recordset I fill some text boxes and a Data Grid. Works very well and it's fast.
Here's my problem...I want to change to a different query when a user option is selected on the form. I can't find the way to do this with the Data Control. (I know I can use a SQL style query string and code the entire connection setup, but I'd like to use this format if possible)
Is there a way to change the ADO Data Control's DataSource to different stored querys which will replace the previous recordset?
Yes, I did ask a similar question in the VB5 and 6 forum, but my question was poorly formed. I hope this is clearer. I'm appologize if this was improper to do.
Thanks for any advice.
Of all the things I've lost, I miss my mind the most!
Sideman
I'm a struggling learner, so please be patient with my simplistic question.
I'm using VB6(SP5) and Access 2000 in my project.
I have an ADO Data Control which is assigned an Access stored query. From the resulting recordset I fill some text boxes and a Data Grid. Works very well and it's fast.
Here's my problem...I want to change to a different query when a user option is selected on the form. I can't find the way to do this with the Data Control. (I know I can use a SQL style query string and code the entire connection setup, but I'd like to use this format if possible)
Is there a way to change the ADO Data Control's DataSource to different stored querys which will replace the previous recordset?
Yes, I did ask a similar question in the VB5 and 6 forum, but my question was poorly formed. I hope this is clearer. I'm appologize if this was improper to do.
Thanks for any advice.
Of all the things I've lost, I miss my mind the most!
Sideman