docs: public void fieldsToData(Rec record) throws DBException
      {
          BaseBuffer buffer = this.getNewDataBuffer();
          this.doSetHandle(buffer, DBConstants.DATA_SOURCE_HANDLE); // This way you can retrieve the current buffer.
          super.fieldsToData(record);
          buffer.finishBuffer();
      }