How to get the outer join datas.

mohanarajmohanaraj 600001
edited November 2009 in FastReport .NET
Dear all,

I want to display the report with data from two table with relation.
In the first table the data columns present are

1. DepartmentId
2. Calls
3. cost
4. Duration

In the second table contains

1. DepartmentId.
2. Extension
3.Calls
4.Cost
5.Duration.

In this i create a relation between these two table by DepartmentId

I design the report as
In outer Data band i design the field with first table, and inner data band with second table
the report display only the data which matches the second table DepartmentId.
But i want to display both matched data and unmatched data. Ie

First Table fields
Second table fields
Second table fields
second table fields

First Table Fields

First Table Fields

First Table Fields

Now i getting
First Table fields
Second table fields
Second table fields
second table fields

Comments

  • edited 11:58AM
    Hello,

    Select the master data band and set its "PrintIfDetailEmpty" property to true.
  • mohanarajmohanaraj 600001
    edited 11:58AM
    AlexTZ wrote: »
    Hello,

    Select the master data band and set its "PrintIfDetailEmpty" property to true.


    Dear Alex,

    Thank you very much.

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.