Single Row

edited 6:40PM in FastReport .NET
I just updated to the newest version and now I am having this problem.

I have a report where I am passing a list to the databand and such, it was woring prior to the update.

The report is only populating with the 1st line of the list.
List<InvoiceData> invoice = ScanHistoryDB.GetNonInvoicedScans();

            Report invRpt = new Report();
            invRpt.Load(@"Reports\test.frx");

            invRpt.RegisterData(invoice, "data");

            DataBand databand = (DataBand)invRpt.FindObject("Data1");
            databand.DataSource = invRpt.GetDataSource("data");

            invRpt.Prepare();

            invRpt.ShowPrepared();

Comments

  • edited 6:40PM
    try the demo from fastreport, if they are working then there is something wrong with your datasource or layout
  • In my experience, this usually happens if your datasource is not assigned to your databand.

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.