+ Reply to Thread
Results 1 to 1 of 1

CopyFromRecordset method - ADO recordset is empty - XL auto from Access

  1. #1
    Registered User
    Join Date
    11-29-2007
    Posts
    1

    Question CopyFromRecordset method - ADO recordset is empty - XL auto from Access

    Hi all,

    I would really appreciate your help with the following:

    I'm using Access to automate XL.

    All the data resides in a master table in Access.

    I'm using an Access query to produce the required view/report of the master data.

    I'm retrieving the SQL string of the Access query and trying to export it to XL as an ADO recordset.

    However, the recordset seems to be empty, even though the Access query runs fine in Access (in other words the SQL is correct).


    Here is the related code:

    ...Remember, this is happening in ACCESS...

    The Library Reference to the Excel Object Library is set.

    The SQL of the Access query is sent as an argument to the following procedure:
    Please Login or Register  to view this content.
    Any help will be greatly appreciated!

    Thanks!!
    Last edited by Leith Ross; 11-29-2007 at 12:37 PM.

+ 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