Dll returned a Rs. Now what?
My Dll returns me a recordset in the form of a variable. How do I now use the records from the rs to populate my listview? Is there a special way to declare a variable to be a rs?
Code:
Private Sub Command1_Click()
Dim rs As GRSrch.rs
Set rs = New GRSrch.rs
Dim conn As GRSrch.Connection
Set conn = New GRSrch.Connection
Dim rsRecordset As Recordset
conn.GetConn2
If rs.Get_Search_RS(rsRecordset, Text1.Text, Text2.Text, Text3.Text, Text4.Text) = 1 Then
MsgBox "No record found"
Else
MsgBox "record found"
End If
conn.CloseConn
End Sub