More than one left outer join in Crystal 2011

I'm needing to use two left outer joins in a report that use 7 different tables. I get an error when I do make 2 left outer joins.

Both IM_AliasItem and IM_ItemVendor tables will have blanks so I need all my Item codes and whatever the other two tables have empty or not.

                     left outer join / IM_AliasItem  /  AliasItemNo & Type

CI_Item  /  Item Code (in a group)

                     left outer join  /  IM_ItemVendor  /  VendorAliasItemNo

Parents Reply Children
  • 0 in reply to Darkjedi

    That is what the shared variable is for, appending each value in succession.

    shared StringVar x := x + {IM_AliasItem.AliasItemNo} + chr(10) + chr(13)

    After the sub-report is done, "x" should have all the lines, so use a formula field to bring it in and display it in the main report.

    whileprintingrecords;
    shared StringVar  x;
    x