code: public Record getMainRecord()
      {
          Record record = m_vRecordList.getMainRecord();
          if (record == null)
              record = super.getMainRecord();   // Look thru the parent window now
          return record;
      }
docs: Get the main record for this screen.
  @return The main record for this screen.