Essa é uma revisão anterior do documento!


Formatador de Relatório - ReportBuilder (Resumo do guia do desenvolvedor)


1. Place a SubReport component in the detail band.

2. Position the subreport so that it is flush with the top of the detail band.

3. Right-click over the subreport and select the Section menu option.

Note: When a subreport is created, it defaults to a PrintBehavior of pbChild. Child subreports print within the context of the parent band, much like a stretching memo. Section subreports generate entire pages, creating a whole section within the parent report.

4. Name the subreport srCustomerList.

Note: Whenever you set the name of a subreport, the text in the subreport component and the text in the tab at the bottom of the Report Designer is updated. The caption is also displayed in the Report Outline section of the Report Tree. When you have several subreports, it is a good idea to name them so it is easier to keep track of them.

1. Coloque um componente SubReport na faixa de detalhes.

2. Posicione o sub-relatório para que ela fique nivelada com a parte superior da faixa de detalhes.

3. Dê um clique direito sobre o sub-relatório e selecione a opção do menu Seção.

Nota: Quando um sub-relatório é criado, o padrão é uma PrintBehavior de pbChild. Subreports crianças imprimir no contexto da banda-mãe, bem como um memorando de alongamento. Seção subreports gerar páginas inteiras, criando toda uma seção dentro do relatório pai.

4. Nomeie o srCustomerList sub-relatório.

Nota: Sempre que colocar o nome de um sub-relatório, o texto no componente sub-relatório eo texto na guia na parte inferior do Relatório Designer é atualizado. A legenda também é exibido na seção Relatório Descritivo da Árvore Report. Quando você tem várias sub-relatórios, é uma boa idéia para nomeá-los por isso é mais fácil de manter o controle delas.

5. Click the 'srCustomerList' tab.

6. Select File | Load SubReport from the Report Designer main menu and open the CustList.rtm file. The Customer List report will appear in the Report Designer.

7. Click the Main tab at the bottom of the Report Designer to return to the layout of the main report.

6. Selecione Arquivo | Carga SubReport no menu principal Report Designer e abra o arquivo CustList.rtm. O relatório lista de clientes será exibido no Report Designer.

7. Clique na guia principal, na parte inferior do Report Designer para retornar ao layout do relatório principal.

8. Select File | Save from the Delphi main menu.