Essa é uma revisão anterior do documento!
Formatador de Relatório - ReportBuilder (Resumo do guia do desenvolvedor)
TUTORIAL DE RELATÓRIOS - B - C
1. Close the Report Designer.
2. Select the Standard tab of the Delphi component palette.
3. Add a Button component to the form.
4. Configure the Button component:
Name btnPreview Caption Preview
5. Put the following code in the OnClick event handler of the button:
rbSectSub.Print;
6. Select File | Save from the Delphi main menu.
7. Run the Project.
8. Click the Preview button. The report should be displayed in the Print Preview form. The first three pages should contain the Customer List report; the last thirty-nine pages should contain the Stock Summary report.
Note: The calculations for the Stock Summary report are not correct, and the color-coding for this report is gone. This is because we have not created the event handlers for this report. We will complete this task in the next section.