Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents

The custom report format Report Designer uses ActiveReports to create the layout format. Image Removed

...

To view the report designer, open a custom report format and click click Edit Layout Format.Image Removed

...

Warning

If modifying an existing report, CXT Software recommends creating a copy of the report and make changes to the copy. There is no way to revert changes and no historical log.

How to Add Database Content

  1. Go to the Find window and select or create the query you would like the report to work with. This will give you access to all the available data fields populated by the query and you will be able to display the results in your report.

  2. Choose the Report Format from the drop-down menu. 

    Image RemovedImage Added
  3. Click Exec.

  4. Click on Designer tab at the top left of the window. 

  5. Available Fields will populate on the left. 

    Image RemovedImage Added

How to Design the Report

The Designer tab is where you control the layout and design of the report. There are three main sections of the report: PageHeader, Detail, and PageFooter.Image Removed

...

You can re-size headers and footers by dragging the section divider up or down.

Add an Object

  1. From the Toolbox, select a control. It will appear depressed when selected.

  2. Draw a box in the area you want to place the object by clicking in the section with gridlines and dragging your mouse. 

  3. Use the Property ToolBox to style the object. To add a dynamic field type the Available Field name in the DataField.

Report Designer

Available Fields

All the fields that are available to be linked to controls on the report format are listed in the Available Fields section.Image Removed

...

Toolbar

Icon

Name

Description

Image Modified

File

Contains all the file menu choices. "Open, Save, and Page Setup".

Image Modified

Edit

Contains all the edit menu choices. "Cut, Copy, Paste, and Delete".

Image Modified

View

Contains all the viewable sections of the report designer. Can turn on or off different panes in the report designer.

Image Modified

Report Explorer

Toggles the report explorer window. Located on the left of the layout pane.

Image Modified

View Full Screen

Toggles full screen mode.

Image Modified

Cut, Copy, Paste

Toolbar shortcuts

for 

for "Cut, Copy, Paste".

Image Modified

Undo

Undo your last action.

Image Modified

View Grid

Toggles the report grid. 

Image Modified

View Script

Opens the script editor. This can be used to edit any custom scripts or behind the report code in VB.

Image Modified

Reorder Groups

If your report format contains multiple groups, this option allows you to reorder the groups in your preferred sequence.

Image Modified

Bring Front/Back

Brings the selected object either forward or backward.

Image Modified

Lock Control

Locks a form control so it can't be moved or edited.

Image Modified

Snap to Grid

When enabled, controls will snap to the grid rather than floating freely unaligned with the grid.

Image Modified

Various Alignments

Various alignment tools used for aligning controls on the report.

Toolbox

Icon

Name

Description

Image Modified

Pointer

Selected by default, the pointer allows you to select, move, and resize controls, and resize sections. After you drop or draw a control onto your report, the pointer is automatically selected.

Image Modified

Label

A static text box used as a label. Change the text field in the Property ToolBox to display the text you would like.

Image Modified

TextBox

A textbox that can be used for dynamic or static data.

In

In the Property ToolBox, type the Available Field name in the DataField for the dynamic data and enter static data

in the

in the text field in case the dynamic data is null/empty.

Image Modified

CheckBox

A checkbox with or without a label. This field does not pull dynamic data.

Image Modified

Image

Add an image. In the Property ToolBox, click “…” by Picture to open available files. Set the Size mode to "Clip" (show part of the image that fits to the drawn frame), "Stretch" (fit the image into the drawn frame, might be distorted/stretched), or "Zoom" (resize the picture with the correct aspect ratio to fit the drawn frame as closely as possible).

Custom reports support a maximum

of 

of "3"

 images

 images which are defined in the custom report format form. 

Image Modified

Line

Draw a line.

Image Modified

Shape

Draw a shape. In the Property ToolBox, select the Shape "Rectangle", "Ellipse",  or "Rounded Rectangle". Change BackColor and BackStyle to fill / color the shape.

Image Modified

RichText

You can use different formats on adjacent text in the rich text box control, merge data in it, or load an HTML or RTF file into it. Or double-click inside the control to enter text directly into it. For more information on the RichText control, see ActiveReports documentation here.  

Image Modified

Frame

Creates a frame control. This control is rarely used. 

Image Modified

Subreport Control

Use the subreport control as a placeholder for data from a separate report. Use code to connect the separate report to the subreport control.

Image Modified

Page Break

Add a page break.

Image Modified

OLE Object

Add an OLE object which can embed various document types in the layout.

Image Modified

ActiveX Control

Creates an ActiveX Control which can embed various ActiveX controls in the layout.

Image Modified

Barcode Control

Add a barcode and bind it to data using

the 

the DataField in

the Property

the Property Toolbox. This can create scannable barcodes on reports. For more information on barcodes, see ActiveReports documentation here. 

Image Modified

ADO Control

Add ADO data source controls.

Image Modified

DAO Control

Add DAO data source controls.

Image Modified

RDO Control

Add RDO data source controls.

Image Modified

XML Control

Add XML data source controls.

Explorer

The explorer shows all the sections of the report. The various sections control the header, footer, and the details of the report.Image Removed

...

Property ToolBox

Property ToolBox gives you control over added objects in the Toolbox such as fields, labels, text, lines, shapes, images, etc. Color, background, font, height, width are common among many of the objects. You can adjust the object's position with the left and top properties. Increasing or decreasing these numbers will shift the object horizontally and vertically on the canvas. This number is automatically adjusted if an object is moved on the canvas. Image Removed

...

Connecting Database Fields in the Property ToolBox 

Note

Available Fields must be populated. See How to Add Database Content above. 

  1. Add a TextBox from the Toolbox.

  2. In the Property ToolBox, type in the Available Field you want to display in the DataField.

Example

To display a destination name to a shipping label, you would type in "DestName" in the DataField of the Property Toolbox.Image Removed

...

Example

If you want to change the font of the text on the shipping label, click the text then click on the ... next to the font to change the font style and size.

Image Removed

...