Copyright: Copyright © Psi Computer Consultants Pty Ltd
Citation: Elaine T. Adair & Michael M. Michalak


Contents
Report Layout Component - (TPsiReportLayout)

The Report Layout Component is derived from a TPanel Control and is the parent of the button controls,  the display and selection controls and the design area for the report at runtime.

The additional SQLText property is the Developers Interface for passing an SQL string to the Report Layout Component at runtime

The user may view and edit the Default Report Layout for the passed SQL string.

Default Report Layout Button:	Creates a default report layout for the report you will run using a sample record.

Run Report Button:	Builds the complete report as it is displayed in the layout.

Add a Label Field Button:	Will create a new label field in a selected band and allows you to enter a caption.

Date Button:	Adds a date field in a selected band which is generated when the report is run.

Time Button:	Adds a time field in a selected band which is generated when the report is run.

Page Number Button:	Adds a page number field to a selected band which is generated when the report is run.

Create SUM Button:	Will place a calculated 'total' field in the Summary Band for a selected data 'value' field - for the entire report..

Group by Selected Field:	Will display all records in the report by a selected 'data' field grouping, and will display 'group' totals in the Group Footer Band for all value fields (if applicable) .

Add a Graphic Button:	Allows you to add a graphic from a file.

Help Button:	Will access This Help file.

Remove Field Button:	Will remove a selected field/label.

Justify Field:	Allows you to justify a selected field - left, right or centre.

Font Button:	Will open the font dialog box where you may change the font, size and colour of the selected field/label.

Click the 'Default Report Layout' button to view the default layout of the report. A sample record from the passed and evaluated SQL string will be displayed in the report bands.   Using the Button Bar you can customise the report.

If you wish to alter the position of a field/label, select the field/label by LEFT mouse clicking on the field/label.  The field/label will be encompassed by 'stretch handles' you may now hold down the mouse button and drag the field/label to a new position within the same band, (for more exact positioning you may use the Arrow keys on your keyboard to move the field/label, pixel by pixel).  To release the field/label - RIGHT mouseclick.  To move more than one field/label at a time select the 'Fields' option on the button bar, LEFT mouseclick on as many fields/labels as you wish to move at one time and drag.  Multiple fields may be selected by clicking on another field within the same band.  The Justify, Font and delete buttons will apply the respective action to ALL selected fields.

To resize the field/label do the same as above but instead of dragging the field/label, LEFT mouseclick again on the 'stretch handles' of the field/label. The double ended arrow will indicate that you have selected the resize option rather than the drag option.  You may then hold down the mouse button and resize the label horizontally and/or vertically.

Report Bands are automatically resized to display the entire fields within the Bands upon release of the mouse during a drag operation.

The selected field name or band name will be indicated in the gray panel below the buttons.  When a field label is selected the text associated with that label will appear in an edit field next to the gray panel.  You may alter the text of that label here. Whilst the field/label is selected you may alter the associated font via the 'Font' button.

You may add date, time and page number fields to any band by selecting the band and using the appropriate button, the values of these fields will be generated when you run the report.

If you wish to delete a field use the 'Remove Field' button.  A Confirm Box will pop open where you can confirm or cancel the delete command.

If the report you are to run would be more appropriately displayed length ways on the page then select the 'Landscape' option under Page Layout on the button bar.

The Run Report button will generate a Preview of the designed report.  The Report may be printed from this preview form.

About Psi Computer Consultants Pty. Ltd.

Psi Computer Consultants Pty. Ltd. has been in the business of database development for more than 10 years.  We supply consulting services to any industry or individual who requires up-to-date information and assistance in remote or local database and desktop products. Our objective is to provide design solutions using the latest products available in todays rapidly changing marketplace.  We specialize in Windows Software Solutions and Client / Server Development.

We also design and support streamlined and efficient software programs that are aimed at reducing the amount of time and input the user has to provide in order to obtain the results they expect and deserve.

The current version of the Psi Report Layout Component is constantly being updated to include additional user requested functionality.  We therefore appreciate your input so that we can continue to improve this product.

To contact us:

Phone:

 MICHAEL M. MICHALAK	(+61) 0419 792 270

 ELAINE T. ADAIR	(+61) 0419 795 341

Fax:

  (+61) 07 3397 7506

CompuServe:

  100232,2111

Registration:  CompuServe GO SWREG 9207

Internet:

  100232,2111@compuserve.com