joseph1234
New member
- Local time
- Today, 11:42
- Joined
- Jun 5, 2008
- Messages
- 3
Hello everybody. It's my first post 
I have a function which returns an array:
Dim myArray(5)
Public Function getMyArray()
getMyArray = myArray
End Function
And now I'd like to do some query..something like this
Select * From MyTable where MyTable.id IN (getMyArray());
When I use it with an other function which returns a single variable ( eg. getId()), it works fine. How to do the same with an array.
I'm begging you help.

I have a function which returns an array:
Dim myArray(5)
Public Function getMyArray()
getMyArray = myArray
End Function
And now I'd like to do some query..something like this
Select * From MyTable where MyTable.id IN (getMyArray());
When I use it with an other function which returns a single variable ( eg. getId()), it works fine. How to do the same with an array.

I'm begging you help.