I have a class module called module1.
This module has a method called getRecordset
How do I go about assigning the return value of getRecordset
to a recordset opened inside that method.

Code:
Public Function GetRecordset(Optional ByVal Key1 As Variant, Optional ByVal Key2 As Variant) As Object
End Function