MrMerlotti
Technical User
From user input I create a select statement as a string. I then run the query as follows:
Dim rsSearch As New ADODB.Recordset
rsSearch.Open (strSearch), CurrentProject.Connection, adOpenStatic
... if multiple records are returned I need to display them in the sub-form of another form. I cannot seem to make the rsSearch recordset available in the load form event of the sub form being opened. Any ideas?
Dim rsSearch As New ADODB.Recordset
rsSearch.Open (strSearch), CurrentProject.Connection, adOpenStatic
... if multiple records are returned I need to display them in the sub-form of another form. I cannot seem to make the rsSearch recordset available in the load form event of the sub form being opened. Any ideas?