Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Public variable
Message
 
À
Tous
Information générale
Forum:
Visual Basic
Catégorie:
Bases de données DAO/RDO/ODBC/ADO
Titre:
Public variable
Divers
Thread ID:
00897339
Message ID:
00897339
Vues:
42
Hi All:
Pleae Help!!!!
I declared two variables at the module level. For example:
Dim oDataConn As ADODB.Connection
Dim oRecSet As ADODB.Recordset

Than I created a private procedure on my form (Getata).
In Getdata function I established my connection and recordset,however when my code leaves the Getdata function, my variable that I declared at the module level are also set to blank. Thus, how can I declare a public variable that would allow me to keep my recordset values.

Thanks
MA
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform