Hi all,
I have a small VB app that will connect to different tables in a SQL Server database as the user clicks a NEXT button. In the past, I Have always created an ADO control every time I need to get a new recordset. However, I think this may be bad programming. What is the correct way to do this, and without using ADO objects??
For example:
First screen will connect to TABLE1 and return results.
Next screen will connect to TABLE 2 and return results.
.... TABLE 3.....
This is all in the same DB. My goal is at the end to take the results from each table and shoot them into another Database.
Do I need more then ONE connection?? Or can I use the same connection with different recordsets??
Thanks for any ideas or samples..
Best regards,
Mike
I have a small VB app that will connect to different tables in a SQL Server database as the user clicks a NEXT button. In the past, I Have always created an ADO control every time I need to get a new recordset. However, I think this may be bad programming. What is the correct way to do this, and without using ADO objects??
For example:
First screen will connect to TABLE1 and return results.
Next screen will connect to TABLE 2 and return results.
.... TABLE 3.....
This is all in the same DB. My goal is at the end to take the results from each table and shoot them into another Database.
Do I need more then ONE connection?? Or can I use the same connection with different recordsets??
Thanks for any ideas or samples..
Best regards,
Mike