Page 1 of 1

How to create a sub report within the main report?

Posted: Fri Jul 07, 2023 6:31 pm
by WDSonic856

I was looking at you application and I was wondering, would it be possible to create a main report which would have some information and then have a column which would have like a href which will open up a subreport where the variables within that selected row will go to the subreport and display the details (summary) of the report based on the information from the main report. If it is, would is be possible to provide necessary steps to do it?


Re: How to create a sub report within the main report?

Posted: Fri Jul 07, 2023 8:46 pm
by WDSonic856

Like say I would like to present all the records in the sub-report where id from the main report is a match.


Re: How to create a sub report within the main report?

Posted: Fri Jul 07, 2023 8:47 pm
by WDSonic856

*match to the sub-report (id_sub=id_main)


Re: How to create a sub report within the main report?

Posted: Sat Jul 08, 2023 7:50 am
by MichaelG

You may want to look at Drill Down Report:
https://aspnetmaker.dev/docs/#/tdrilldown.html


Re: How to create a sub report within the main report?

Posted: Sat Jul 08, 2023 8:33 pm
by WDSonic856

Will it be possible to print/export the drill-down report? Also, does the drill down in detail option look into what values are linked (primary and foreign keys ) of the tables?


Re: How to create a sub report within the main report?

Posted: Mon Jul 10, 2023 7:29 am
by MichaelG

Unfortunately drill down report does not support export/print. The drill down will be dependent on the Source/Target fields you have set up. You can enable Tools -> Advanced Settings -> Show drill down filters to see what the filtering criteria is.