S
Southern at Heart
I open a table (recordset?) with the following code:
Dim rst As DAO.Recordset
Set rst = CurrentDb.OpenRecordset("Name")
....and then I can work with rst
I have a query of just the records I want, and want to open it up to work
with but can't figure out how. My Query is:
strSQL = "SELECT Name.Phone " & vbCrLf & "FROM Name " & vbCrLf & _
"WHERE (((Name.Phone) Like ""*"" & Chr(13) & Chr(10) & ""*"" & Chr(13) &
Chr(10) & ""*""));"
I've use DoCmd.RunSql but that was just for an update.
I want to open this query to work with the data...
thanks
Dim rst As DAO.Recordset
Set rst = CurrentDb.OpenRecordset("Name")
....and then I can work with rst
I have a query of just the records I want, and want to open it up to work
with but can't figure out how. My Query is:
strSQL = "SELECT Name.Phone " & vbCrLf & "FROM Name " & vbCrLf & _
"WHERE (((Name.Phone) Like ""*"" & Chr(13) & Chr(10) & ""*"" & Chr(13) &
Chr(10) & ""*""));"
I've use DoCmd.RunSql but that was just for an update.
I want to open this query to work with the data...
thanks