Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using the same adodc connection for two separate forms
Message
General information
Forum:
Visual Basic
Category:
Database DAO/RDO/ODBC/ADO
Miscellaneous
Thread ID:
00614693
Message ID:
00614716
Views:
12
>Hello everyone,
>If I have an adodc connection with SQL attached to it for one form and I have a separate form that I would like to be use the same connection so that any record that is displayed on the first form will be the same record on the second form but show different fields on the second form for that record. I'm using a .udl data link file as the connection with a SQL statement just being "Select * from myTable"
>Thanks for your help in advance!
>Max

Try this:
set form2.adodc1.recordset = form1.adodc1.recordset
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform