• Report Groupings

    Author
    Topic
    #460764

    Hi ,I am having considerable bother in getting a report to behave how I wish and therefore to be able to total fields etc. I have posted quite a few isolated questions on reports recently and am perhaps guilty of not making myself clear. I have a main table with say main ID, from this I have a many scheme table with schemeID. Scheme has two many to many relations with risks and checks. I have created appropriate junction tables for each. I have combined all these in one query to show all records.

    On my report I DO want groupings but have an issue around how I model the two junctions since they are at the same level in terms of relations so I do not one grouping over the other. If I consign these to the details section I end up with mutliple lines, so if I have 2 risks and 3 checks I end up with six lines which is not what I want and is confusing to the reader, (first risk is shown 3 times each with one of the checks next to it, then similarly for the second risk . I need the 3 risks showing in isolation and similar the 2 checks but obviously linked to the appropriate scheme. Suggestions would be most helpful.

    Many thanks, Darren.

    Viewing 0 reply threads
    Author
    Replies
    • #1166375

      More or less as in [post=”779304″]Post 779304[/post], I suggest that you create a main report for the schemes, with a subreport for the checks and a subreport for the risks. Both subreports would be linked to the main report by SchemeID.

      • #1166380

        This seems to be more like Hans, sorry for my lack of understanding. I have not manually linked reports previously, so if report 1 is the main and has spk as the scheme ID and then report 2 is one of the many to many with spfk as the scheme link, what do I actually put in the property link master and child? I have tried the ellipse builder but it doesn’t recognise an unbound report.

        Cheers, Darren.

        • #1166385

          The main report should be bound to the Scheme table.
          One of the subreports should be bound to the Checks table, and the other to the Risks table.

          The Link Master Fields property should list the linking field(s) in the main report, in this example spk.
          The Link Child Fields property should list the corresponding field(s) in the subreport, in this example spfk.

          • #1166395

            The main report should be bound to the Scheme table.
            One of the subreports should be bound to the Checks table, and the other to the Risks table.

            The Link Master Fields property should list the linking field(s) in the main report, in this example spk.
            The Link Child Fields property should list the corresponding field(s) in the subreport, in this example spfk.

            Thank you Hans for your patience.

    Viewing 0 reply threads
    Reply To: Report Groupings

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: