Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem E_FAIL on a ADO/DB2 query.

Status
Not open for further replies.

Bickle

Programmer
Jul 12, 2001
22
FR
When I execute large query with ADO (MDAC 2.7) from visual basic into a DB2/AS400 database, I have the following error message when I test the property ".recordcount" or if I use the method .movelast : (I do have however all the data in the recordset)

"Data provider or other service returned an E_FAIL status".

The same query that return less rows (<4500) does not have the same problem. Incidently, the SQL query uses and &quot;Union All&quot; join, on other queries I do not have this problem.

Thank you for any help !

Adrian
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top