docs: public boolean checkParams(int iAreaDesc)
      {
          KeyArea pIndex = this.getKeyArea(-1);
          int lastField = pIndex.getKeyFields() + DBConstants.MAIN_FIELD - 1;
          for (int keyFieldSeq = DBConstants.MAIN_FIELD; keyFieldSeq <= lastField; keyFieldSeq++)
          {
              KeyField pKeyField = pIndex.getKeyField(keyFieldSeq);
              BaseField pField = pKeyField.getField(DBConstants.MAIN_FIELD);
              BaseField pParamField = pKeyField.getField(iAreaDesc);
              int bCompare = pField.compareTo(pParamField);
              if (iAreaDesc == DBConstants.END_SELECT_KEY) if (bCompare > 0)
                  return true;    // Past range
              if (iAreaDesc == DBConstants.START_SELECT_KEY) if (bCompare < 0)
                  return true;    // Past range
          }
          return false; // Within the range!
      }