Consulting

Results 1 to 3 of 3

Thread: ADO - Issue in Excel

  1. #1
    VBAX Regular
    Joined
    Dec 2004
    Posts
    93
    Location

    Arrow ADO - Issue in Excel

    Hey, I'm trying to union multiple ranges having the same structure using ADO - SQL. Just tested uniting two ranges and noticed that it doesn't pick all the lines. Identical lines that have identical values are not passed into the recordset. However when I select values from a single range all the lines are picked. Have you had similar case and what could be the workaround?

  2. #2
    VBAX Master Aflatoon's Avatar
    Joined
    Sep 2009
    Location
    UK
    Posts
    1,735
    Location
    Use UNION ALL not just UNION.
    Be as you wish to seem

  3. #3
    VBAX Regular
    Joined
    Dec 2004
    Posts
    93
    Location
    Thanks, Aflatoon. It worked.

Posting Permissions

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