Hi All,
To open a recordset based on a table I typically use:
Dim rs As ADODB.Recordset
Set rs = New ADODB.Recordset
rs.Open "Select * from [my_tbl]", CurrentProject.Connection, adOpenKeyset, adLockOptimistic
How do I do something similar if I need to pull records from an existing query in my DB? Assume I want all records/fields from the query.
Thanks,
Collen
To open a recordset based on a table I typically use:
Dim rs As ADODB.Recordset
Set rs = New ADODB.Recordset
rs.Open "Select * from [my_tbl]", CurrentProject.Connection, adOpenKeyset, adLockOptimistic
How do I do something similar if I need to pull records from an existing query in my DB? Assume I want all records/fields from the query.
Thanks,
Collen