Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Global Variable containing a recordset

Status
Not open for further replies.

IagreeOK

Programmer
Mar 11, 2001
3
US
Can someone give me an example of declaring a (table, dynaset, snapshot)recordset as being Global in a .BAS file?
 
Well, I'm not sure if this is what you want, but if you want to declare let's say a global recordstet on a VB module you would do something like:

Public Your_RS_Name As New ADODB.Recordset

Is this what you were asking for? If you need more help let me know.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top