Problem with master and parameters

edited 9:02PM in FastReport VCL 5
Since I updated my Fastreport from 4.15 to 5.6.1, im having problems with the reports wich uses relations between 2 querys.
Its a Master query wich gives the ID of a customer. The second query its a SUM, in which the where contaings the ID from the MASTER query. Then i have 2 bands, a Master and a Detail. I have related both with the master option in the data section and i use the parameter as :ID.

The problem is that the detail always shows the information of the first ID.
??Any ideas what can be the problem?

Comments

  • edited 9:02PM
    You need to select your detail query and in the query options there is an option called Master. In this option you need to select your master query. You can see attached picture.

    ingsys wrote: »
    Since I updated my Fastreport from 4.15 to 5.6.1, im having problems with the reports wich uses relations between 2 querys.
    Its a Master query wich gives the ID of a customer. The second query its a SUM, in which the where contaings the ID from the MASTER query. Then i have 2 bands, a Master and a Detail. I have related both with the master option in the data section and i use the parameter as :ID.

    The problem is that the detail always shows the information of the first ID.
    ??Any ideas what can be the problem?

Leave a Comment