PIC_ReplaceBlankField

If the current field is blank, sets the field value to the character that is specified.

Syntax

bool PIC_ReplaceBlankField (StrParam)

Parameters

A character or string that is placed into the field if it is blank. Smart parameters are supported.

Returns

False if it is called at the wrong level or if the parameter is missing, otherwise True.

Level

Field level.

Details

  • If a field is blank, it replaces it with a single character.
  • If a field is empty or only contains spaces, it is replaced with the character or string that is passed in as a parameter.
  • If the field is replaced with the input parameter, the confidence is changed to a low confidence of 1.
Example
PIC_ReplaceBlankField("~")