Solved

ODBC call failed - ODBC with Unidata

Posted on 2004-10-02
3
630 Views
Last Modified: 2010-08-05

I am using MS Access and ODBC to Unidata but when I run a parameter query it gives me the following error: ODBC call failed. If I hard code the parameters on the query criteria it runs ok,  but if I get interaction with the user it gives me the error.
If I am using the date criteria  :
 Between #9/1/04# and #9/30/04#
If works fine, but if I use the parameters in the query criteria:
 Between [Start Date:] And [End Date:]
Then I get the error: ODBC call failed
Please help.

My plan B is to try to configure Pervasive SQL Server v8.0 with ODBC conenction to Unidata.
Pervasive SQL Server will be in one server and Unidata is on another one. And also to be able to create SQL link databases to Unidata ODBC or import in automated mode from Unidata to SQL-Pervasive in daily basics.
 
0
Comment
Question by:JCB01
3 Comments
 
LVL 15

Accepted Solution

by:
jdlambert1 earned 250 total points
ID: 12209480
I suggest building the SQL in a string variable, then passing that value. That way you can use the user input, but avoid the [Start/End Date:]'s.
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Recursive SQL in UDB/LUW (you can use 'recursive' and 'SQL' in the same sentence) A growing number of database queries lend themselves to recursive solutions.  It's not always easy to spot when recursion is called for, especially for people una…
Recursive SQL in UDB/LUW (it really isn't that hard to do) Recursive SQL is most often used to convert columns to rows or rows to columns.  A previous article described the process of converting rows to columns.  This article will build off of th…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…

770 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