Home End User
New Blog Posts: Merging Reports - Part 1 and Part 2

Using Left Outer Joins in Report Builder

edited March 2007 in End User
Hi,
how do I get the SQL generated by Report Builder to generate Left Outer
Joins?
I've tried to add it from the table interface and i've tried to add it as
embedded code, but it still generates the join as an Inner Join.Any ideas?

Andrew Pondaag

Comments

  • edited March 2007
    Hi Andrew,

    If you are using DADE, you can define a left outer join using the join
    dialog. For instance, if you start a new query designer and add two tables
    in the Tables tab, the join dialog will pop up. Then in the top left corner
    you can select which type of join you would like to use. The join dialog
    will also pop up when adding multiple tables in the Query Wizard.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited March 2007
    Hi, i tried that but the SQL generated still comes up as an inner join. Any
    other options?


  • edited March 2007
    Hi Andrew,

    Which version of ReportBuilder/Delphi are you using? Which database and
    connectivity are you using? If you open the join dialog and select Left
    Outer Join for two tables, then take a look at the SQL tab, it displays an
    Inner Join. In my testing, this does not occur and a Left Outer Join is
    properly displayed

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.