Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Public variable
Message
 
To
All
General information
Forum:
Visual Basic
Category:
Database DAO/RDO/ODBC/ADO
Title:
Public variable
Miscellaneous
Thread ID:
00897339
Message ID:
00897339
Views:
43
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
Next
Reply
Map
View

Click here to load this message in the networking platform