Which error? If I stand correct, it should look like this:
dim x as adodb.recordset
set x = YourClass.YourFunctionThatReturnsARecordset
>Does any body knows a way to use a adodb recordset generated from a com object running in a mts server ?
>I've tryed declaring a with instance variable and also with a function that returns a recordset but both gives me an error
>I need to show this recordset in a combo list (datacombo ), ¿Is there a way to asocieate that remote recordset to this kind of objects in the client?
>thanks
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com