Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using the same adodc connection for two separate forms
Message
Information générale
Forum:
Visual Basic
Catégorie:
Bases de données DAO/RDO/ODBC/ADO
Divers
Thread ID:
00614693
Message ID:
00614716
Vues:
13
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform