R
RSteph
I've been scouring the web looking for solutions, and none I've found seem to
work for me. I've got a big query I'm running to pull some information. I'd
like to use this query to create a recordset to pull some information out.
The problem is I keep getting this error.
The query has one clause in the where part of the query, looking for
"CaseID". My original statement was just:
Set rs = CurrentDb.OpenRecordset("CaseLookup", dbOpenDynaset)
That didn't work, so I tried turning it into a search query, and pulling the
where clause out:
Set rs = CurrentDb.OpenRecordset("SELECT * FROM CaseLookup WHERE
([CaseLookup].CaseID=" & CaseID & ")", dbOpenDynaset)
But that doesn't seem to work either. Does anyone have any suggestions of
what I might be doing wrong here? Any help would be greatly appreciated.
Thank you.
work for me. I've got a big query I'm running to pull some information. I'd
like to use this query to create a recordset to pull some information out.
The problem is I keep getting this error.
The query has one clause in the where part of the query, looking for
"CaseID". My original statement was just:
Set rs = CurrentDb.OpenRecordset("CaseLookup", dbOpenDynaset)
That didn't work, so I tried turning it into a search query, and pulling the
where clause out:
Set rs = CurrentDb.OpenRecordset("SELECT * FROM CaseLookup WHERE
([CaseLookup].CaseID=" & CaseID & ")", dbOpenDynaset)
But that doesn't seem to work either. Does anyone have any suggestions of
what I might be doing wrong here? Any help would be greatly appreciated.
Thank you.