Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Excel xlodbc error 2042 with SQLRetrieve
I'm using XLODBC.XLA to execute stored procedures, and return rows to Excel.
There is one procedure that is returning 340 rows from a table, and it returns the rows to Excel, but the SQLRetieve is returning 'Error 2042' instead of the number of rows returned. If I delete any row from the table before running the query, it works fine, and returns the number of rows as it should. Even if I add a row, it works fine, but something goes wrong when the record set is 340 rows. There are probably other record set sizes that cause this problem, but so far this is the first one my users have stumled on. Any ideas ? thanks, Andy SQLExecQuery idConnect, sSQL rc = SQLRetrieve(idConnect, output, , , bLabels) |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
What substitutes XLODBC.xla add-in in Excel 2003 | Excel Discussion (Misc queries) | |||
excel 2003 xlodbc.xla | Excel Programming | |||
query from excel to access - xlodbc.xla | Excel Programming | |||
Need xlodbc.xla in Excel 2003 | Excel Programming | |||
Error 2042 | Excel Programming |