Solved

Date query paramaters sent to odbc linked table no longer works

Posted on 2013-01-15
2
772 Views
Last Modified: 2013-01-21
I have a ms access query that I use which has as a criteria of a date for a field called process date.  As an example I put in a criteria of #01/14/2013# for the field called process date and I get an error of odbc syntax error...access violation..note the table object within the query is an odbc linked table...

Note this query works perfectly fine in ms access 2003, but fails in ms access 2010.  My work around has been to use CDate('01/14/2013'), but I would like to avoid having to change a lot of queries and databases to this workaround.  Any suggestions on why ##date criteria no longer work in ms access 2010 with an odbc linked table..
0
Comment
Question by:upobDaPlaya
2 Comments
 
LVL 61

Accepted Solution

by:
mbizup earned 500 total points
ID: 38780823
Check under

Access Options -->  Object Designer --> Query Design

Ensure that you do NOT have a SQL Server Compatible option selected.

SQL Server Compatible Option
0
 

Author Comment

by:upobDaPlaya
ID: 38781100
I checked and both boxes are blank..
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

I originally created this report in Crystal Reports 2008 where there is an option to underlay sections. I initially came across the problem in Access Reports where I was unable to run my border lines down through the entire page as I was using the P…
Composite queries are used to retrieve the results from joining multiple queries after applying any filters. UNION, INTERSECT, MINUS, and UNION ALL are some of the operators used to get certain desired results.​
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now