H3llo
I Have One Function Named
The Problem With Me Is The Above Function Doesnot WorkCode:public Function Executequery(sql As String) As Objectdim Rs As New Adodb.recordset Set Rs=con.execute(sql) 'con Is A Connection Executequery=rs End Function
Because I Am Returning A Recordset But My Function Expects An Object. So I Need To Typecast Recordset To Object And Vice Versa.
How Can I Do It? Anyone Plz Can U Help Me?




Reply With Quote