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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need a method to pass a collection between two functions or subs

Status
Not open for further replies.

nexus

Programmer
Jun 16, 1999
28
0
0
CA
I'm trying to create a collection in one sub, and pass the results into another sub.  Is this possible?  TIA.
 
Well you can create collection definitions in Class modules, the do something like, a Dim somehting as new Collectionname<br>then just passing it as that CollectionName, I think it should be fine, as long as you have the structure some how globally declared (the type) <p>Karl<br><a href=mailto:kb244@kb244.8m.com>kb244@kb244.8m.com</a><br><a href= </a><br>Experienced in , or have messed with : VC++, Borland C++ Builder, VJ++6(starting),VB-Dos, VB1 thru VB6, Delphi 3 pro, Borland C++ 3(DOS), Borland C++ 4.5, HTML,Visual InterDev 6, ASP(WebProgramming), QBasic(least i didnt start with COBOL)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top