13.07.2015 Views

Reports & Queries - Source : www.pcsoft-windev-webdev.com

Reports & Queries - Source : www.pcsoft-windev-webdev.com

Reports & Queries - Source : www.pcsoft-windev-webdev.com

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

• Keep space for the page footer when it is invisible (for Page Footer blocks only):By default, the space taken by the Page Footer block will always be kept in the report pages (no matterwhether the block is visible or not). With this option, the space taken by the Page Footer block will bekept only in the pages where this block is visible. This option is used to optimize the method for fillingthe report pages.5.5 Handling the blocks in the report editor5.5.1 Creating a blockTo create a block in a report, you can:• on the "Creation" pane, in the "Structure" group, expand "Blocks" and choose the block to add. Only thelist of blocks that can be included in your report is displayed.• select "Add a block" from the popup menu of the report (right mouse click on the report currently created).• click the "Add a block" button in the "Blocks" tab of the report description.Note: The Break header and Break footer blocks cannot be dissociated. However, one of these blocks can bemade invisible if necessary (in the description window of the block or via ..Visible).5.5.2 Deleting a blockTo delete a block from a report, you can:• select "Delete the block" from the popup menu of the block to delete (right mouse click on the blockcaption).• click the "Delete a block" button in the "Blocks" tab of the report description.• press [DEL] on the keyboard (the block to delete must be selected).Note: The Body block cannot be deleted. However, this block can be made invisible (in the description windowof the block or by programming with ..Visible).5.5.3 Re-arranging the blocksThe report editor gives you the ability to re-arrange the blocks found in a report. When printing the report, theblocks will be printed according to the order specified in the report editor. The order in which the processes ofthe blocks are run corresponds to the order in which the blocks are printed.The order for printing the report blocks can be defined:• in the "Options" tab of the description window of the report ("Report description" from the popup menuof the report).• in the "General" tab of the description window of each block ("Block description" from the popup menuof the block).See the online help (keyword: "<strong>Reports</strong> blocks, Print order") for more details.5.6 Handling the blocks by programmingEach report block is associated with different processes. These processes are used to improve the operatingmode of the report via the programming functions of WLanguage. Furthermore, each block can be handled inWLanguage: to do so, use the name of the block in the WLanguage code.Part 1: Report editor 67

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!