Consultor Eletrônico



Kbase P13134: ODBC call failed 3146 - Query runs but returns no data.
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   8/21/2003
Status: Unverified

FACT(s) (Environment):

Progress 8.3E

FACT(s) (Environment):

MERANT 32-BIT Progress SQL-89

FACT(s) (Environment):

Windows 2000

FACT(s) (Environment):

Sun Solaris SPARC

SYMPTOM(s):

MS Access

Receiving error: ODBC call failed 3146

"Test connect" works

When running simple queries, the expected results return

When running more complex queries, to multiple fields, the Query runs, but does not return any data and looks like the connection is closed.

Query appears to run without problems when run as a report otherwise it runs 3 or 4 times before failing

CAUSE:

RecordSet type incorrectly set within Access

FIX:

Do the following in MS Access on the Query definition:
Go to Query Properties - change RecordSet Type = Snapshot(where an update is not required) and raise your ODBC Timeout setting.