I have a VB6 Form1 w/ several Textboxes into which the user enters data which is stored in an Access db. I have been able to use a sql statement (not an ADO Data Control) to search for some individual recordset in the db by a certain field value and to display the result on another Form2 which is set up like the entry form so that the db fields populate the appropriate Textboxes.
Here's the problem--I also need to be able to search for all the records in the db that contain a certain field value and would like them to populate Form2 in the appropriate Textboxes and allow the user to step through all and only those records that contain that value. Can the ADO Data Control do that using the RecordSource String rather than the Table option? Is there some non-ADO Data Control method to hold the query data and display it as the user selects it in some way? Am I thinking about this the wrong way? If someone can point me in a direction that shows how can this be done, I'd appreciate it. Thanks.--Ed
Here's the problem--I also need to be able to search for all the records in the db that contain a certain field value and would like them to populate Form2 in the appropriate Textboxes and allow the user to step through all and only those records that contain that value. Can the ADO Data Control do that using the RecordSource String rather than the Table option? Is there some non-ADO Data Control method to hold the query data and display it as the user selects it in some way? Am I thinking about this the wrong way? If someone can point me in a direction that shows how can this be done, I'd appreciate it. Thanks.--Ed