Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
dmxmikey
Creator
Creator

ODBC Read failed

//QUALIFY *;

ODBC CONNECT32 TO Accord (XUserId isxxxxxxxxxxX, XPassword is xxxxxxxxxxxxxx);

RFPKLOGD:

SQL SELECT

    assignment,

    "bond-status",

    depot,

    dept,

    "e-code",

    "loc-status",

    "locn-post",

    "min-stock",

    "move-no",

    "o-line",

    "o-ordinn",

    "o-ordqty",

    "o-ordwt",

    "o-sentinn",

    "o-sentqty",

    "o-weight",

    "order",

    "p-code",

    "pk-date",

    "pk-hour",

    "pk-ind",

    "pk-minute",

    "pk-second",

    "pk-stock",

    "pk-stock-in",

    "pk-time",

    "replen-date",

    "replen-move",

    "replen-priority",

    "replen-time",

    "reserve-stock",

    "shift-date",

    "shift-id",

    summarised

FROM PUB.rfpklogd;

STORE RFPKLOGD INTO \\APPSERVER1\QLIKVIEW\QLIKVIEWDATAFILES\QVDS\rfpklogd.qvd;

When i load the above script i get an ODBC read failed error, but i know the connection to Database is ok.

5 Replies
buzzy996
Master II
Master II

can u confirm,that ODBC connection is created in User DSN tab or System DSN tab?

dmxmikey
Creator
Creator
Author

Not sure how to tell but think user

Sent from my iPhone

buzzy996
Master II
Master II

u suppose to create that odbc connection on System dsn tab and run tht application through the server..it works.

go to--control panel---administrative tools--data sources..and see whr u r created that odbc connection!

dmxmikey
Creator
Creator
Author

Just checked and connection is set on system dns

shaktisinghchau
Contributor III
Contributor III

Mike,

I have faced this issue recently it is happen when you have more than one field in your select statement with same name