Jump to content

Report based on master-child relationship


iztok

This topic is 7262 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies

Hi,

I'm new to FM and haven't been able to find an answer to what I assume is a trivial task. Any help is greately appreciated.

I'm trying to create a report based on two (three) tables e.g.

Table 1: Contract

contractId

clientName

contractDate

Table 2: Performer

performerId

firstName

lastName

Table 3: ContractPerformer

contractId

performerId

Based on this table structure I'm able to assign a number of performers to each contract. I achieve this using a portal to the Performer table while entering data into Contracts table.

I can create a report using the report wizard that generates a list of all contracts grouped by a date, however I can't figure out how to also display performes assigned to each contract.

Something like:

Date 1

contract1, clientName1

performer1.1

performer1.2

performer1.3

..

contract2, clientName2

performer2.1

performer2.2

performer2.3

Date 2

contract1, clientName1

performer1.1

performer1.2

performer1.3

..

contract2, clientName2

performer2.1

performer2.2

performer2.3

Thanks, Iztok

Link to comment
Share on other sites

  • Newbies

Ralph,

That worked great. However, there is a peculiar side-effect.

Report is just as I wanted it, organized by date, then contract, followed by the list of performers assigned to that contract.

The part that I don't understand is that the report ends with an extra entry at the very end. This extra entry has a blank date, blank contract, followed by a long list (several pages) of blank performer records interspersed with some real performers.

Any hints? Thanks, Iztok

Link to comment
Share on other sites

This topic is 7262 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.