Forum Discussion

Tony2021's avatar
Tony2021
Iron Contributor
Sep 12, 2022
Solved

Join 2 Crosstabs using a UNION (Syntax)

Experts, I am trying to join 2 queries into a Union.  I am getting a syntax in the following:  Do you see where I am wrong? The queries work separately.  thank you very much.    here is m...
  • arnel_gp's avatar
    Sep 13, 2022

    you can try this.
    save Each Crosstab in its own Query.
    then Select them to create a Union Query:

    Select * From CrosstabQuery1
    UNION
    Select * From CrosstabQuery2;

    Note that both query should have exactly The Same Number of Columns.

Resources