Column tag
 

The <Column> tag specifies various details of a column in the final report.  A <Column> tag only needs to be included for a column if the default values are not acceptable.

Attributes

Attribute

Description

name

The name of this column (must match the name of one of the fields in the SQL SELECT statement in the text of the <SQL> tag).

visible

Optional.  Specifies whether this column should be displayed, or is included for other purposes, such as sorting or navigation (takes the value True or False, defaulting to True if not supplied).

caption

Optional.  The caption to be displayed for this column in the results grid (if not supplied the field name is used instead).

width

Optional.  The initial width of this column in the results grid, in pixels (if not supplied a default value will be used).

position

Optional.  An integer that determines the order of columns in the results grid, lowest first (if not supplied this column will appear after any columns that do specify a position).

keycolumn

Optional.  The name of the column which contains the key to use when navigating to a data screen from a value in this column (required if the column should support navigation to the relevant data screen when clicking a value).  The column referred to must have a database table specified in its TableName attribute.

tablename

Optional.  The name of the data type that should be used when navigating to data screens using the value of keys stored in this column.  Possible values are the same as specified for the DataType parameter of the IRecorder6.DisplayTab method.  Typically this attribute would be used with Visible= “False” to provide a means for navigating to data screens from columns that have specified this column in their KeyColumn attribute (only required for columns that have been referred to in one or more other columns’ KeyColumn attribute).

Parent Tags

<Columns>

Child Tags

None

Text

None

Relate Topics:
  Change Control
Created by Atop CHM to web converter,© 2009 all right reserved.