+ Reply to Thread
Results 1 to 2 of 2

VBA SQL connection issue

  1. #1
    Registered User
    Join Date
    06-29-2011
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    2

    VBA SQL connection issue

    I have some vba come which creates a new querytable. Here is the function


    Please Login or Register  to view this content.
    the SQLquery needs to get HUGE...the above code works fine when its not too big, but I need to look up info on thousands of customers so my query get huge...then the code fails with the error "Application-defined or object-defined error"
    The char length on the query which trigger the error is c40,000 chars
    I know the sql query itself is fine.
    Any ideas why i cant get this to work?
    I tried wrapping SQLQuery in array() and also array("" & SQLQuery & "")...didnt work
    thanks everyone

  2. #2
    Registered User
    Join Date
    06-29-2011
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: VBA SQL connection issue

    dump...anyone?

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1