Navigation:  Reference > Report Objects >

TppDBText

Print this Topic Previous pageReturn to chapter overviewNext page

 

Use this object to put data from your program into the report.  All data fields will use this object, regardless of the type.  The only exception to this is when you want to print numeric values as bar codes.  Then you would use the TppDBBarCode object.

 

Description

The TppDBText component is a data-aware report control that is used to print text from a database field. The database field that is printed is the value of the DataField property. To avoid printing the same data on consecutive detail lines set the SuppressRepeatedValues property to true. When SuppressRepeatedValues is set to True you can enable the field value to reprint on the first detail line of a new page by setting the ReprintOnSubsequent property to True.

 

Use the DisplayFormat property to control how the text is formatted. How the text of the caption aligns within the label is determined by the value of the Alignment property. You can have the control resize automatically to fit a changing caption if you set the AutoSize property to True. Set the WordWrap property to True if you the want the text to wrap rather than be truncated to fit inside the control.

 

PALETTE ICON & EXAMPLE

 

 

PROPERTIES

The following are the properties that apply to this object.  Some are defined in Common Properties and are linked to their appropriate page.

 

Alignment

AutoSize

ColorThe background color of the object.  Defaults to white.

DataField

                DisplayFormat

       

Font

Height

Left

Name

OnPrint

ShiftWithParent

Tag

Top

Transparent

Visible

Width

WordWrapIf you want to allow the object to wrap sentences as though this were a memo field then check this object.  If you also have AutoSize checked the object will grow in length to the appropriate number of lines that are required to print the entire object.

 

This is a special property that will display above the normal OI (object Inspector) if it applies to the object you are editing.  Generally, this would be all objects that actually print and doesn't include the bands themselves.

 

See Also OnPrint

 


Page url: http://www.cassoftware.com/tas/manual/tppdbtext.htm