代码之家  ›  专栏  ›  技术社区  ›  Jograd Mahusay

Crystal报告未显示数据

  •  0
  • Jograd Mahusay  · 技术社区  · 7 年前

    tblTransaction 不包含任何数据,因此 tblAccount tblAcctDetails 不会显示。即使中没有匹配的记录,我如何获取要显示的记录 TBL交易 ?

    enter image description here

    2 回复  |  直到 7 年前
        1
  •  0
  •   4444    7 年前

    右键单击之间的链接 tblTransaction tblAccount 打开链接选项。从这里,可以将联接类型更改为右外部联接。(返回右表中的所有行,即使左表中没有匹配项。)

    或者,您可以使用SQL命令替换表,并手动执行任何链接或联合。

        2
  •  0
  •   Harsha Biyani Amit    7 年前

    你通过 UNION ALL 查询获取数据并尝试。

    SELECT expression1, expression2, ... expression_n
    FROM tables
    [WHERE conditions]
    UNION
    SELECT expression1, expression2, ... expression_n
    FROM tables
    [WHERE conditions];