Essa é uma revisão anterior do documento!
<fs x-large>Formatador de Relatório - ReportBuilder (Resumo do guia do desenvolvedor)</fs>
TUTORIAL DE RELATÓRIOS - B - C
1. Click the 'SubReport1' tab.
2. Right-click over the Orderno DBText component located on the far left side of the detail band. Set the ReprintOnOverFlow menu option to True.
Note: OverFlow occurs when the detail band runs out of page space on the current page and must complete printing on the next page. For this report we want to print the ItemNo followed by 'Continued…' at the top of the page when the orders for a given customer overflow onto an additional page.
3. Place a label in the detail band and configure it:
2. Dê um clique direito sobre o componente Orderno dbText localizado do outro lado esquerdo da faixa de detalhes. Defina a opção de menu ReprintOnOverFlow para True.
Nota: excesso ocorre quando a banda detalhe é executado fora do espaço da página na página atual e deve concluir a impressão na página seguinte. Para este relatório queremos imprimir o ItemNo seguido por 'Continuação … “na parte superior da página quando as ordens de um determinado estouro cliente para uma página adicional.
3. Coloque uma etiqueta na banda detalhe e configurá-lo:
Caption Continued... Name lblContinued Visible False Font Name Times New Roman Font Size 10 Font Style Regular Font Color Black Text Alignment Left justified
4. Select the SaleDate DBText component, then Shift-click the Continued label.
5. Click the Align Top and Align Left icons on the Align or Space toolbar.
4. Selecione o componente SaleDate dbText, em seguida, pressione Shift e clique no rótulo Continuada.
5. Clique no Align Top e alinhar os ícones da esquerda sobre o Align ou barra de ferramentas Espaço.
6. Add the following code to OnPrint event of the Continued label:
6. Adicione o seguinte código ao evento OnPrint do rótulo Continuação:
lblContinued.Visible := ppChildReport1.Detail.OverFlow;
7. Select Project | Compile rbMDDProj. Fix any compilation problems.
8. Select File | Save from the Delphi main menu.
Note: The OverFlow property of the detail band will only be True when the orders for the current customer do not fit on the page and therefore must overflow onto an additional page. When this happens, the label will be visible.
Nota: A propriedade OverFlow da banda detalhe só será verdadeira quando as ordens para o cliente atual não se encaixam na página e, portanto, deve transbordar em uma página adicional. Quando isso acontece, o rótulo será visível.



