SetFill

Sets the filler character to be used to expand the current value of a field in a flat file, if the field's allowable length is greater than the length of its current export value.

Syntax

bool SetFill (Strparam)

Parameters

Single String character to be used as the filler value.

Returns

False, if more than one character is entered as a parameter. Otherwise, True.

Level

Any level.

Details

Sets the filler character to be used to expand the current value of a field in a flat file, if the field's allowable length is greater than the length of its current export value.
Attention: When using SetFill, the action SetFixedLength, FixedLenRJ or FixedLenLJ must also be used to set the maximum length of the field. You can use SetSpaceFill if you wish to make the filler character a space. Use ResetFieldVariables to clear this setting.
Example
SetFixedLength("10")
SetFill("$")

This example sets the fill character to a $.