Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to establish global connection
Message
From
30/03/2004 04:14:34
 
 
To
29/03/2004 05:59:39
Raoshan Kumar
Softinfo Systems Pvt. Ltd.
New Delhi, India
General information
Forum:
Visual Basic
Category:
Database DAO/RDO/ODBC/ADO
Miscellaneous
Thread ID:
00890327
Message ID:
00890685
Views:
17
why the function connect is acceping constock as parameter ?? that is where the problem lies and the global variable becomes local inside connect.

'Public function connect(constock as ADODB.Connection)
'set constock = NEW ADODB.Connection
'with constock
'.ConnectionString="it's working fine"
'.Prov.
'.Open
'End with
'End function
Best Luck..
Nilesh
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform