clearFields()

You can use the consoleLib.clearFields() system function to clear the displayed values associated with the specified fields. If you do not specify any fields, the function clears them all. The function does not affect any variables bound to the displayed fields.

Syntax

  consoleLib.clearFields( 
    fields ConsoleField in)
fields
A list of console field variables, separated by commas.

Example

The following example shows the consoleLib.clearFields() function. For the ConsoleForm record used in the example, see clearFieldsByName():

  consoleLib.clearFields(myCustForm.custNumber, myCustForm.custName);

Feedback