Essa é uma revisão anterior do documento!


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


1 Select View | Toolbars | Data Tree. Position the Data Tree to the left of the Report Designer. 2 Click the Layout tab at the bottom of the Data Tree and configure the drag-and-drop settings as follows: Create All Style Tabular Label Grid True Label Font Name Times New Roman Label Font Style Bold Label Font Size 12 point Label Font Color Maroon Field Grid True Field Font Name Times New Roman Field Font Style Regular Field Font Size 10 point Field Font Color Black Note: In this tutorial we are using the Tabular style to create a grid of labels and field components. After you have completed this tutorial, you should try it again using the Vertical style as well as various other combinations of the available layout settings. 3 Click on the Data tab of the Data Tree and select the Customer DataPipeline from the tree list at the top. The Customer fields will be displayed in the list at the bottom. 4 Click on the CustNo field and then hold down the Ctrl key and click on the following fields in the order specified: Company Contact Phone FAX Note: This method of field selection is called the Ctrl-click method. 5 Drag the selected fields onto the workspace, positioning the mouse at the bottom left corner of the header band. Release the mouse button. A grid of labels will be created at the bottom of the header band component and a corresponding grid of DBText components will be created in the detail band. Note: The Data Tree has a built-in behavior for creating labels and data-aware components. If the components cannot fit in the band's vertical space below the label, they are stacked at the end of the band. Note: The width assigned to each DBtext component is calculated using the DisplayWidth of the data pipeline's field components. When using the DBPipeline, the field components are created automatically and use the DisplayWidth information of the fields in the dataset to which the pipeline is connected. You can override this behavior by setting the AutoCreateFields property to False and using the DataPipeline's Fields Editor to set the default DisplayWidth.