public boolean isNull ( int iAreaDesc , boolean bIncludeTempFields ) { for ( int i = 0 ; i < this . getKeyFields ( false , bIncludeTempFields ) ; i ++ ) { if ( this . getField ( i ) != this . getRecord ( ) . getCounterField ( ) ) if ( this . getKeyField ( i ) . getField ( iAreaDesc ) . isNull ( ) ) return true ; // Is null } return false ; // is not null }
If any of the non - counter fields are null return true .