Hi,
You can return a record set object by using SET keyword.
In your function, use Set before GetData=RecordSet
Set GetData=RecordSet
Hope this helps!!!
You can return a record set object by using SET keyword.
In your function, use Set before GetData=RecordSet
Set GetData=RecordSet
Hope this helps!!!

