UnifaceEntity.setOccurrenceField

Insert new contents into the specified field.

import com.compuware.uniface.*;

void setOccurrenceField (

int occNumber,

int fieldNumber,

Object object);

Parameters

  • occNumber—number of the occurrence.
  • fieldNumber—required field’s number.
  • object—new contents for the field specified by occNumber and fieldNumber.

Return Values

None. The method setOccurrenceField throws a UnifaceException if the occurrence or field numbers are out of range, or if a data type conversion error occurs for the obj parameter.