public void initRecord(boolean bDisplay) throws DBException
    {
        int iFieldCount = this.getFieldCount();      // Number of fields to read in
        for (int iFieldSeq = Constants.MAIN_FIELD; iFieldSeq < iFieldCount + Constants.MAIN_FIELD; iFieldSeq++)
        {
            FieldInfo field = this.getField(iFieldSeq);
            field.initField(bDisplay);
        }
        this.setEditMode(Constants.EDIT_NONE);
    }
public void initRecord ( boolean bDisplay ) throws DBException { int iFieldCount = this . getFieldCount ( ) ; for ( int iFieldSeq = Constants . MAIN_FIELD ; iFieldSeq < iFieldCount + Constants . MAIN_FIELD ; iFieldSeq ++ ) { FieldInfo field = this . getField ( iFieldSeq ) ; field . initField ( bDisplay ) ; } this . setEditMode ( Constants . EDIT_NONE ) ; }
Reset all the fields to their default value.
<p />NOTE: After executing, this records edit mode is set to NONE.
@param bDisplay The the new values (on work in the thick model).
@throws Exception An exception on initing a field.