Quantcast
Channel: dBforums – Everything on Databases, Design, Developers and Administrators
Viewing all articles
Browse latest Browse all 13329

Excel Query: [Informix][Informix ODBC Driver]General Error.

$
0
0
Hi,

Im using Microsoft Excel to query an informix database using to parameters that are in Cell A1 and B1.

When the SQL statement is executed in Microsoft Query it works and returns the required data, but the following error occurs when returned to Excel:

Quote:

[Informix][Informix ODBC Driver]General Error.
The driver is version 2.81 TC1 and the SQL query being executed is:

Code:

SELECT DISTINCT t1.r1, t1.r2, t2.r3, t2.r4
FROM informix.t1, informix.t2
WHERE t1.r1 = t2.r5 AND ((t2.r3=?) AND (t2.r4 =?))

I really hope someone can help or offer advice.

Thank you

Viewing all articles
Browse latest Browse all 13329

Trending Articles