Essa é uma revisão anterior do documento!
Formatador de Relatório - ReportBuilder (Resumo do guia do desenvolvedor)
TUTORIAL DE RELATÓRIOS - B - C
1. Scroll right until the edge of the footer band is visible.
2. Click the SystemVariable component icon on the Report Designer component palette.
1. Vá para a direita até a borda da banda de rodapé é visível.
2. Clique no ícone SystemVariable componente na paleta de componentes Designer Report.
3. Click on the far right side of the footer band. A SystemVariable component will be created.
4. Use the drop-down list on the left side of the Report Designer to select the PageSetDesc variable type. Page 1 of 1 should be displayed in the component.
5. Position the component at the top right corner of the footer band.
6. Right-justify the component by clicking on the right-justify icon on the Format toolbar.
7. Scroll to the left, hold down the Shift key, and select the PrintDateTime System Variable.
8. Click the Align Top icon on the Align or Space toolbar.
3. Clique no lado direito da faixa de rodapé. Um componente SystemVariable vai ser criado.
4. Use a lista drop-down no lado esquerdo do Report Designer para selecionar o tipo de variável PageSetDesc. Página 1 de 1 deve ser exibido no componente.
5. Coloque o componente no canto superior direito da faixa de rodapé.
6. direito do justificar o componente clicando no ícone à direita justificar na barra de ferramentas Formatar.
7. Vá para a esquerda, mantenha pressionada a tecla Shift e selecione a variável PrintDateTime Sistema.
8. Clique no ícone Align Top na barra de ferramentas Alinhar ou espaço.
9. Click the Select Report icon , which appears at upper left corner of the Report Designer where the horizontal and vertical rulers meet. This will select the report component in the Object Inspector.
9. Clique no ícone Relatório Select, que aparece no canto superior esquerdo do Relatório Designer onde as réguas horizontal e vertical se encontram. Isso irá selecionar o componente de relatório no Object Inspector.
10. Locate the PassSetting property of the Report in the Object Inspector.
11. Make sure it is set to psTwoPass. This property is set automatically when you select a SystemVariable type that requires a Page Count.
Note: Setting the report PassSetting on psTwoPass will cause the report engine to generate all of the pages automatically. One-pass reports only generate the first page, and then any pages requested after that. This does not allow the report to calculate the total number of pages. Two-pass reports are required whenever you are using the Page-Count in a System Variable.
12. Select File | Save from the Delphi main menu.
13. Click the Preview tab in the Report Designer.
10. Localize a propriedade PassSetting do Relatório no Object Inspector.
11. Certifique-se de que está definido para psTwoPass. Essa propriedade é definida automaticamente quando você seleciona um tipo SystemVariable que requer uma contagem de página.
Nota: Configurando o relatório PassSetting em psTwoPass fará com que o mecanismo de relatório para gerar todas as páginas automaticamente. Relatórios de uma passagem só gerar a primeira página, e em seguida, todas as páginas solicitadas depois disso. Isto não permite o relatório para calcular o número total de páginas. Relatórios de duas passagens são necessárias sempre que você estiver usando a contagem de página de uma variável do sistema.
12. Selecione Arquivo | Salvar a partir do menu principal Delphi.
13. Clique na guia Visualizar no Report Designer.