docs: public void printControlStartForm(PrintWriter out, int iPrintOptions)
      {
          super.printControlStartForm(out, iPrintOptions);
          
          BasePanel scrHeading = ((BaseGridScreen)this.getScreenField()).getReportHeading();
          if (scrHeading != null)
          {
              out.println(Utility.startTag(XMLTags.HEADING));
              scrHeading.printControl(out, iPrintOptions | HtmlConstants.HEADING_SCREEN);
              out.println(Utility.endTag(XMLTags.HEADING));
          }
  
          Record record = ((BaseGridScreen)this.getScreenField()).getMainRecord();
          if (record == null)
              return;
          String strRecordName = record.getTableNames(false);
          if ((strRecordName == null) || (strRecordName.length() == 0))
          	strRecordName = "Record";
          out.println(Utility.startTag(XMLTags.DETAIL + " name=\"" + strRecordName + "\""));
          this.printHeadingFootingControls(out, iPrintOptions | HtmlConstants.HEADING_SCREEN);
      }