+ Reply to Thread
Results 1 to 2 of 2

ADODB.Connection Closed due to .commandtext changing from original

  1. #1
    Registered User
    Join Date
    07-08-2012
    Location
    Melbourne Australia
    MS-Off Ver
    Excel 2003
    Posts
    79

    ADODB.Connection Closed due to .commandtext changing from original

    Hello everyone

    I have quite a large sql query which somehow changes when I put it into my commandtext.

    The query normally works, however when I run a debug.print I notice it separates some of the command onto a new line which is where it breaks

    Any thoughts on how to stop it starting a new line

    this is the debug.print cmd.commandtext - in red is where the new line begins but shouldn't

    Please Login or Register  to view this content.

    This is my total code
    Please Login or Register  to view this content.
    Last edited by gwsampso; 12-20-2012 at 11:00 PM.

  2. #2
    Registered User
    Join Date
    07-08-2012
    Location
    Melbourne Australia
    MS-Off Ver
    Excel 2003
    Posts
    79

    Re: ADODB.Connection Closed due to .commandtext changing from original

    no early christmas present for me?

+ 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