Diferenças
Aqui você vê as diferenças entre duas revisões dessa página.
Próxima revisão | Revisão anterior | ||
manual_usuario:outros:formatadorrelatoriodesenv:fr_18_create_subreport2_connect_data [2014/12/19 13:49] administrador criada |
manual_usuario:outros:formatadorrelatoriodesenv:fr_18_create_subreport2_connect_data [2015/02/10 13:03] (atual) administrador Aprovado |
||
---|---|---|---|
Linha 7: | Linha 7: | ||
- | =====TUTORIAL DE RELATÓRIOS - B - C===== | + | =====TUTORIAL DE RELATÓRIOS - Master / Detail - Relatório detalhado - Crie um SubReport2 e conecte-o ao Data===== |
---- | ---- | ||
- | 1 Click the 'Subreport1' tab. | + | 1. Clique na guia 'Subreport1'. |
- | 2. Right-click over the vertical line component located at the extreme left of the detail band. Select the StretchWithParent and ReprintOnOverflow menu options. | + | 2. Dê um clique com o botão direito sobre o componente line vertical localizado no extremo esquerdo da banda de detalhes. Selecione as opções do menu StretchWithParent e ReprintOnOverflow. |
- | 3. Right-click over the vertical line component at the far right of the detail band. Select the Stretch- WithParent and ReprintOnOverflow menu options. | + | 3. Dê um clique com o botão direito sobre o componente line vertical no lado direito da banda de detalhes. Selecione as opções do menu Stretch: WithParent e ReprintOnOverflow. |
- | **Note:** The detail band will contain a child-type subreport that will stretch to print all of the items for the current order. By setting StretchWithParent to True, we are saying “Whatever the height of the detail band is in the report, resize the line to match it.” Sometimes the items for an order will overflow onto an additional page. By setting Reprint- OnOverFlow to True we are saying “When the detail band overflows onto an additional page, make sure to reprint the line.” 306 Master Detail Detail Report REPORT TUTORIALS | + | **Nota:** A banda de detalhe vai conter um sub-relatório do tipo filho que irá se estender para imprimir todos os itens para a ordem atual. Ao definir StretchWithParent como True, estamos dizendo "Seja qual for a altura da banda de detalhe do relatório, redimensionar a linha para igualá-la." Às vezes, os itens para uma ordem vão transbordar para uma página adicional. Ao definir Reprint- OnOverFlow como True, estamos dizendo "Quando a banda de detalhe transborda para uma página adicional, certifique-se para reimprimir a linha." |
- | 4. Set the height of the detail band to 0.4687. | + | 4. Ajuste a altura da banda de detalhes para 0,4687. |
- | 5. Place a subreport component just below the DBText components in the detail band. | + | 5. Coloque um componente subreport logo abaixo dos componentes dbText na banda de detalhes. |
{{ :manual_usuario:outros:formatador_desenv_260.png?75 |}} | {{ :manual_usuario:outros:formatador_desenv_260.png?75 |}} | ||
- | 6. Right-click over the subreport and set Parent-Width to false, then set the position: | + | 6. Dê um clique com o botão direito sobre o sub-relatório e defina Parent-Width para false, em seguida, defina a posição: |
Left 0.875 | Left 0.875 | ||
Linha 30: | Linha 30: | ||
Width 6.25 | Width 6.25 | ||
- | 7. Use the drop-down list at the upper left corner of the Report Designer to set the subreport's DataPipeline to plItem. | + | 7. Use a lista drop-down no canto superior esquerdo do Report Designer para definir DataPipeline do sub-relatório para plItem. |
- | 8. Select File | Save from the Delphi main menu. | + | 8. Selecione "File | Save from" no menu do Delphi. |
{{ :manual_usuario:outros:formatador_desenv_261.png?600 |}} | {{ :manual_usuario:outros:formatador_desenv_261.png?600 |}} | ||