Table of Contents

Add Procedure

Table Fixed Width Column

Adds a column definition to the Fixed Width Column settings. The column will be left aligned and have space as a pad character.

Overloads

Name Description
Add(Code[20]; Integer; Integer; Integer) Adds a column definition to the Fixed Width Column settings.
Add(Code[20]; Integer; Integer; Integer; Enum "QWETB Text Col. Justification"; Text[1]) Adds a column definition to the Fixed Width Column settings.

Add(Code[20]; Integer; Integer; Integer) Procedure

Adds a column definition to the Fixed Width Column settings. The column will be left aligned and have space as a pad character.

Signature

Add(NewFileSettingsCode: Code[20]; NewColumnNo: Integer; NewStartPosition: Integer; NewLength: Integer)

Parameters

NewFileSettingsCode Code[20]

The code of the File Settings that columns should be added to.

NewColumnNo Integer

The column number.

NewStartPosition Integer

The 1-based start position for this column.

NewLength Integer

The length of this column.

Remarks

This function should only be invoked on temporary records.

Add(Code[20]; Integer; Integer; Integer; Enum "QWETB Text Col. Justification"; Text[1]) Procedure

Adds a column definition to the Fixed Width Column settings.

Signature

Add(NewFileSettingsCode: Code[20]; NewColumnNo: Integer; NewStartPosition: Integer; NewLength: Integer; NewJustification: Enum "QWETB Text Col. Justification"; NewPadCharacter: Text[1])

Parameters

NewFileSettingsCode Code[20]

The code of the File Settings that columns should be added to.

NewColumnNo Integer

The column number.

NewStartPosition Integer

The 1-based start position for this column.

NewLength Integer

The length of this column.

NewJustification Enum "QWETB Text Col. Justification"

Specifies if the field value for this column should be left or right aligned, if the length of the value is shorter than NewLength

NewPadCharacter Text[1]

Specifies the character to use to fill the empty characters if the field value is shorter than NewLength. If NewJustification is set to Left, the pad characters are added to the right of the field value, if NewJustification is set to Right, the pad characters are added to the left of the field value.

Remarks

This function should only be invoked on temporary records.

This documentation is generated from Smart Toolbox v27.1