code: public int fieldChanged(boolean bDisplayOption, int iMoveMode)
      {
          boolean flag = this.getOwner().getState();
          if (flag)
              m_mergeRecord.getTable().addTable(m_subRecord.getTable());
          else
              m_mergeRecord.getTable().removeTable(m_subRecord.getTable());
          m_mergeRecord.close();  // Must requery on Add, should close on delete
          if (m_gridScreen == null)
              return DBConstants.NORMAL_RETURN;
          else
              return super.fieldChanged(bDisplayOption, iMoveMode);
      }
docs: The Field has Changed.
  If this field is true, add the table back to the grid query and requery the grid table.
  @param bDisplayOption If true, display the change.
  @param iMoveMode The type of move being done (init/read/screen).
  @return The error code (or NORMAL_RETURN if okay).