Metareport
Keyword Index
Home




© 2004-2012 Metamatica Software

_bm21Datafield

Top  Previous  Next

 

A datafield displays data from a table or query. This can be numerical data, characters or multiple lines of text.

 

The following options are available:

 

Data field:

Select the data field you want to print.

 

Alignment:

The report element's text can be aligned left, right or centered.

 

Format:

Numerical data fields can be formatted by setting a format definition.

 

Font:

Selects the font for the report element

 

Color:

Defines the background color for the report element (the font color can be set with the "Font" button).

 

Automatic word-wrap:

Set this option if you want the text to wrap to the next line if it does not fit into the given width (similar to a word processor software).

 

Transparent:

The report element's background will not be printed if this option is activated. This way you can place text on top of an image for example, without hiding the image under a white box with text.

 

Autosize width:

This option resizes the report element to make room for its complete text. If "Autosize" is not set and the text is larger than the element size then text will be clipped off.

 

Autostretch height:

This option is for report elements with multiple lines, e.g. memo fields. The height of the elements will be stretched to make room for all lines. If needed, the report band will be stretched too.

 

Suppress printing of repeated values

Activate this option if you do not want  to print data fields with the same values repeatedly. The report engine will only print the data field for the first data record, and leave all following prints of this data field empty if the field's content hasn't changed.

 

Suppress printing if value of datafield is 0

This option suppresses printing of numerical fields if their value equals zero.

 

Reprint on new page

If you have activated "Suppress printing of repeated values", you can use this option to reprint a field if a new page starts, even if it would be suppressed normally because of equal values.

 

Reprint on new group

Same as "Reprint on new page" but for groups.