LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Old June 14th 18, 05:51 PM posted to microsoft.public.excel.programming
external usenet poster
First recorded activity by ExcelBanter: May 2008
Posts: 97
Default Run time error: 1004 General ODBC Error

Hi All,

I have recoreded a query to extract data with the help of ODBC connection and changed the some of the conditions in the "WHERE" statement. Basically I just added some variables in it.

While executing, the script passess on the variables from a pubic sub to a private sub but the script is not getting executed and I am getting the run time error.

The funniest part of the problem is I have atleast 10 such files where I have done same thing but there it is getting executed but I am not sure what is going wrong with this file. I have just copy pasted the same script from a different file.

Heera Chavan

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 error 1004 general odbc error excel 2003 vba Mentos Excel Programming 5 January 24th 11 02:56 PM
Run Time Error '1004' General ODBC Error CLR Excel Programming 6 September 16th 10 11:14 PM
Run-time error '1004' general odbc error sike11 via Excel Programming 3 May 19th 09 12:00 PM
run-time error '1004' general odbc error Jeff Gross Excel Programming 2 March 26th 09 02:24 PM
Run-time error 1004 - General ODBC Error Linda Excel Programming 0 July 5th 06 04:32 PM

All times are GMT +1. The time now is 06:57 PM.

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

About Us

"It's about Microsoft Excel"


Copyright © 2017