+ Reply to Thread
Results 1 to 4 of 4

Multiple SQL statements off one ODBC Connection

  1. #1
    Registered User
    Join Date
    12-03-2009
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    27

    Multiple SQL statements off one ODBC Connection

    Hello,

    I was wondering if it was possible to have more than one SQL statement off one ODBC Connection?

    And if the answer is 'Yes' how?

    Many Thanks

    Andy

  2. #2
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: Multiple SQL statements off one ODBC Connection

    Do you mean in code? If so, yes - just keep the connection open between opening different recordsets.
    Remember what the dormouse said
    Feed your head

  3. #3
    Registered User
    Join Date
    12-03-2009
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    27

    Re: Multiple SQL statements off one ODBC Connection

    Thanks, how would that be displayed? And could it be outputted into different cells?

    An example would be great!


    Many Thanks

  4. #4
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: Multiple SQL statements off one ODBC Connection

    It's not entirely clear to me what you are after, but here's some code to output data from an Access database query into a worksheet:
    Please Login or Register  to view this content.

+ 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