Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
YCI YCI is offline
external usenet poster
 
Posts: 3
Default 1004 General ODBC Error

Has anyone experienced this problem?

It occurs intermittently when we open an Excel report (heavy on VBA), so the
workbook would appear to be the problem.

The crazy thing is, this report uses OLAP and not ODBC at all.

99 out of 100 times, it works fine. 1 in 100 times, we receive this error.

If anyone has seen this before and can shed some light on this, I'd
apprecaite it.

Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,163
Default 1004 General ODBC Error

Not much help, I'm afraid; just an explanation: OLAP uses ODBC in the
background, I believe. Why it is erroring I can't say. A General ODBC error
is often an attempt to use a function not supported by your driver so it may
be dependent on the particulars of your DB engine. If the error tends to
happen on more complex data sets perhaps you are exceeding some limitation of
the query parameters or something.

You may want to search MDSN - this might be a good starting point:
http://msdn.microsoft.com/data/
Perhaps try a search on "OLAP ODBC" or "General ODBC Error". Also suggest
you go to the support site for your database driver and look at their info on
ODBC/OLAP.
--
- K Dales


"YCI" wrote:

Has anyone experienced this problem?

It occurs intermittently when we open an Excel report (heavy on VBA), so the
workbook would appear to be the problem.

The crazy thing is, this report uses OLAP and not ODBC at all.

99 out of 100 times, it works fine. 1 in 100 times, we receive this error.

If anyone has seen this before and can shed some light on this, I'd
apprecaite it.

Thanks.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
run-time 1004 general odbc Rich Excel Discussion (Misc queries) 0 May 19th 06 06:05 PM
Run time error 1004, General ODBC error [email protected] New Users to Excel 0 September 19th 05 01:41 AM
Runtime error '1004' General ODBC error star_lucas New Users to Excel 0 August 29th 05 04:09 PM
Run time error '1004': Generaol ODBC error Dwaine Horton[_3_] Excel Programming 2 April 26th 05 02:52 PM
Run time error 1004 General ODCB Error Kevin Excel Programming 3 February 26th 05 12:51 PM


All times are GMT +1. The time now is 12:45 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"