docs: public boolean doCommand(String strCommand, ScreenField sourceSField, int iCommandOptions)
      {
          if (strCommand.equalsIgnoreCase(MenuConstants.FORMDETAIL))
          { // Make sure if the use wants to select a record to re-connect the selection
              Record targetRecord = null;
              int iMode = ScreenConstants.DETAIL_MODE;
              OnSelectHandler listener = (OnSelectHandler)this.getMainRecord().getListener(OnSelectHandler.class);
              if (listener != null)
              {
                  targetRecord = listener.getRecordToSync();
                  this.getMainRecord().removeListener(listener, false);
                  iMode = iMode | ScreenConstants.SELECT_MODE;
              }
              BasePanel screen = this.onForm(null, iMode, true, iCommandOptions, null);
              if (targetRecord != null)
                  screen.setSelectQuery(targetRecord, false);
              return true;
          }
          else
              return super.doCommand(strCommand, sourceSField, iCommandOptions);
      }