Solved

Date query paramaters sent to odbc linked table no longer works

Posted on 2013-01-15
2
811 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Occasionally there is a need to clean table columns, especially if you have inherited legacy data. There are obviously many ways to accomplish that, including elaborate UPDATE queries with anywhere from one to numerous REPLACE functions (even within…
Did you know that more than 4 billion data records have been recorded as lost or stolen since 2013? It was a staggering number brought to our attention during last week’s ManageEngine webinar, where attendees received a comprehensive look at the ma…
Using Microsoft Access, learn some simple rules for how to construct tables in a relational database. Split up all multi-value fields into single values: Split up fields that belong to other things into separate tables: Make sure that all record…
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.

735 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