MarkDicken
IS-IT--Management
Hi All,
I am trying to Pass A Collection To A FUNCTION ??? (Access 2000)
I have a Class called BO (for Business Objects)
Within BO I have a Function called ShowCollection
Public Sub showcollection(colCollection As Collection)
MsgBox "colCollection(2)=" & colCollection(2)
End Sub
I've tries a whole number of ways and its not working?
The calling code is :-
Dim oCollection As New Collection
oCollection.add "aaa"
oCollection.add "BBB"
oCollection.add "CCC"
Dim oBO As New BO
oBO.showcollection(oBO)
Any IDEAS ???
Many Thanks In Advance ...
Regards
Mark Dicken
England, UK
(Currently Working in Saudi Arabia)
I am trying to Pass A Collection To A FUNCTION ??? (Access 2000)
I have a Class called BO (for Business Objects)
Within BO I have a Function called ShowCollection
Public Sub showcollection(colCollection As Collection)
MsgBox "colCollection(2)=" & colCollection(2)
End Sub
I've tries a whole number of ways and its not working?
The calling code is :-
Dim oCollection As New Collection
oCollection.add "aaa"
oCollection.add "BBB"
oCollection.add "CCC"
Dim oBO As New BO
oBO.showcollection(oBO)
Any IDEAS ???
Many Thanks In Advance ...
Regards
Mark Dicken
England, UK
(Currently Working in Saudi Arabia)