public boolean isBOF()
    {
        boolean bFlag = ((m_iRecordStatus & DBConstants.RECORD_AT_BOF) != 0);
        if (this.isTable())
        {   // If this is a table, it can't handle starting and ending keys.. do it manually
            if (bFlag)
                return bFlag;
            if (this.getRecord().getKeyArea(-1).isModified(DBConstants.START_SELECT_KEY))
            {
                if (!bFlag)
                    bFlag = this.getRecord().checkParams(DBConstants.START_SELECT_KEY);
                if (bFlag)
                    m_iRecordStatus |= DBConstants.RECORD_AT_BOF; // At BOF
            }
        }
        return bFlag;
    }
public boolean isBOF ( ) { boolean bFlag = ( ( m_iRecordStatus & DBConstants . RECORD_AT_BOF ) != 0 ) ; if ( this . isTable ( ) ) { if ( bFlag ) return bFlag ; if ( this . getRecord ( ) . getKeyArea ( - 1 ) . isModified ( DBConstants . START_SELECT_KEY ) ) { if ( ! bFlag ) bFlag = this . getRecord ( ) . checkParams ( DBConstants . START_SELECT_KEY ) ; if ( bFlag ) m_iRecordStatus |= DBConstants . RECORD_AT_BOF ; } } return bFlag ; }
Is the record at the Start of the file?
@return true if file position is one before the first record.