Sure can,<br>
<br>
Set rs = GetRecordSet(strSQL)<br>
<br>
Then the function looks like this:<br>
<br>
Public Function GetRecordSet(strSQL as String) As RecordSet<br>
Dim NewRS as Recordset<br>
<br>
Set GetRecordSet = NewRS<br>
Exit Function<br>
<br>
Steve<br>
<A HREF="mailto:sdmeier@jcn1.com">sdmeier@jcn1.com</A>
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.