snip here....
Function GetCategoryIdResultSet(categoryId) as ADODB.Recordset
...<do all the dab code here>
set rst = con.open(<sql statement>)
GetCategoryIdResultSet = rst
End Functions
Is this you were looking for...
With Regards,
Raghavendra Mudugal
|