Lynn_AccessUser
Registered User.
- Local time
- Today, 02:33
- Joined
- Feb 4, 2003
- Messages
- 125
Using Access 2003 and SQL Server 2005.
The Access database uses linked tabled to the SQL Server.
I have a 1 table query where I am trying to return data for a search form.
Here is the query:
CaseID = Forms!Search!cboCase
This works fine. However, when I try to get the query to return all records when there is no case selected using:
CaseID = Forms!Search!cboCase OR Forms!Search!cboCase is null
I get an ODBC call failed.
query itself doesn't work.
The Access database uses linked tabled to the SQL Server.
I have a 1 table query where I am trying to return data for a search form.
Here is the query:
CaseID = Forms!Search!cboCase
This works fine. However, when I try to get the query to return all records when there is no case selected using:
CaseID = Forms!Search!cboCase OR Forms!Search!cboCase is null
I get an ODBC call failed.
query itself doesn't work.