docs: public void saveCurrentKeys(FieldTable table, BaseBuffer bufferToSave, boolean bResetKeys) throws DBException
      {
          if (bufferToSave != null)
              bufferToSave.bufferToFields(table.getRecord(), Constants.DONT_DISPLAY, Constants.READ_MOVE);
          for (int iKeyArea = Constants.MAIN_KEY_AREA; iKeyArea < table.getRecord().getKeyAreaCount() + Constants.MAIN_KEY_AREA; iKeyArea++)
          { // Save the current keys
              KeyAreaInfo keyArea = table.getRecord().getKeyArea(iKeyArea);
              if (bResetKeys)
                  keyArea.zeroKeyFields(Constants.TEMP_KEY_AREA);
              else
                  keyArea.setupKeyBuffer(null, Constants.TEMP_KEY_AREA);
          }
      }