code: public void setVal(String fldName, Constant val) {
  		if (tx.isReadOnly() && !isTempTable())
  			throw new UnsupportedOperationException();
  		Type fldType = ti.schema().type(fldName);
  
  		Constant v = val.castTo(fldType);
  		if (Page.size(v) > Page.maxSize(fldType))
  			throw new SchemaIncompatibleException();
  		rp.setVal(fldName, v);
  	}
docs: Sets a value of the specified field in the current record. The type of
  the value must be equal to that of the specified field.
  
  @param fldName
  the name of the field
  @param val
  the new value for the field