Thread
:
return recordset
View Single Post
#
5
Jamie Collins
Posts: n/a
Laurent M wrote:
the error comes from the return.
Try
Set ImportFromdb = Rst
You could also change the declaration to
Function ImportFromdb(Query As String) As ADODB.Recordset
Jamie.
--
Reply With Quote