docs: public void addSummary(Record recSummary, BaseField[][] mxKeyFields, BaseField[][] mxDataFields)
      {
          try {
              recSummary.addNew();
              // First move the key to see if a record exists
              this.setupSummaryKey(mxKeyFields);
              boolean bSuccess = recSummary.seek("=");
              if (bSuccess)
                  recSummary.edit();
              else
              {
                  recSummary.addNew();
                  this.setupSummaryKey(mxKeyFields);
              }
              this.addSummaryData(mxDataFields);
              if (bSuccess)
                  recSummary.set();
              else
                  recSummary.add();
          } catch (DBException ex)    {
              ex.printStackTrace();
          }
      }