Error StackOverflow with table in PageFooter
Jack Morton
Valencia Spain
Hi everyone,
I downloaded few days ago a trial of FastReports .Net and we are trying to update one of our reports in order to evaluate if we can migrate our reports from one system to other.
The problem occurs when I change one TableObject from the detail report to the PageFooter, it appears the attached error while printing the report.
I found out that the error happens in this code:
There's some limitation while printing to put the event ManualBuild at the PageFooter region?
Thanks.
I added also this question to stackoverflow website ( StackOverflow)
I downloaded few days ago a trial of FastReports .Net and we are trying to update one of our reports in order to evaluate if we can migrate our reports from one system to other.
The problem occurs when I change one TableObject from the detail report to the PageFooter, it appears the attached error while printing the report.
I found out that the error happens in this code:
 Â
private void TableModalidadPago_ManualBuild(object sender, EventArgs e)
    {
      // get the data source by its name
      DataSourceBase rowData = Report.GetDataSource("DOCUMENTO_MODALIDAD_PAGO");
      // init the data source
      rowData.Init();
     Â
      if (rowData.RowCount == 0)
      {
        TableModalidadPago.Visible = false;
        return;
      }   Â
     Â
      // print the first table row - it is a header
      TableModalidadPago.PrintRow(0);
      TableModalidadPago.PrintColumns();     Â
      TableModalidadPago.PrintRow(1);
      TableModalidadPago.PrintColumns();
     Â
     Â
      // now enumerate the data source and print the table body
      while (rowData.HasMoreRows)
      {
        // print the table body Â
        TableModalidadPago.PrintRow(2);
        TableModalidadPago.PrintColumns();
       Â
        // go next data source row
        rowData.Next();
      }
     Â
      TableModalidadPago.CanBreak = false;
      TableModalidadPago.CanGrow = true; Â
    }
  }
There's some limitation while printing to put the event ManualBuild at the PageFooter region?
Thanks.
I added also this question to stackoverflow website ( StackOverflow)
Comments