Topic: help with tree view in report

Hello everyone
I have several separate reports that I want to display within a tree view .
Any ideas? ..thenks

Re: help with tree view in report

What do you mean?

3 (edited by k245 2025-08-01 14:35:50)

Re: help with tree view in report

like this? smile
https://myvisualdatabase.com/forum/misc.php?action=pun_attachment&item=11161&download=0

Post's attachments

Attachment icon дерево-2.jpg 389.89 kb, 37 downloads since 2025-08-01 

Визуальное программирование: блог и телеграм-канал.

Re: help with tree view in report

Well, seriously, you'll have to emulate a tree with tabs (or spaces) in a regular table.

Визуальное программирование: блог и телеграм-канал.

Re: help with tree view in report

For example, I have reports...
rp1.fr3
rp2.fr3
rp3.fr3
rp4.fr3
rp5.fr3
I want to include these reports in a tree view
With the addition of a print button .
When you click the button, the selected report is printed from the tree view.

Re: help with tree view in report

Each button for launching "Report" has many settings with which the program generates a query, executes and transfers data for filling in the report.
For "Report (SQL)" part of the work, writing the query, is performed by the developer.
It is also possible that the developer will completely take on the writing of procedures in the script for processing, preparing and transferring data to FastReport.
Based on this, the simplest option may be to leave the "Report" buttons and make them invisible. Then, when selecting in the Tree, launch the click of the corresponding button.
In a complex version, you must fully describe in the script the action for generating and transferring data to the Report and, when selected in the tree, perform your function.
You can find information on how to describe your procedure in the script on the forum.