page1 ReportPage1 DataBand1 TextItem1 DataBand1 $D{customers.CompanyName} TextItem5 DataBand1 $D{customers.Address} TextItem6 DataBand1 $D{customers.Phone} TextItem7 DataBand1 $D{customers.Fax} ReportPage1 customers DataHeaderBand1 TextItem2 DataHeaderBand1 Company TextItem4 DataHeaderBand1 Address TextItem8 DataHeaderBand1 Phone TextItem9 DataHeaderBand1 Fax ReportPage1 DataBand1 ReportHeader2 TextItem3 ReportHeader2 Customers ReportPage1 PageFooter9 TextItem10 PageFooter9 Page $V{#PAGE} of $V{#PAGE_COUNT} ReportPage1 GroupBandHeader1 TextItem11 GroupBandHeader1 $S{$D{customers.CompanyName}.substring(0,1).toUpperCase();} ReportPage1 DataBand1 $S{$D{customers.CompanyName}.substring(0,1).toUpperCase();} GroupBandFooter11 TextItem12 GroupBandFooter11 Count: $S{COUNT($D{customers.CompanyName},"DataBand1")} ReportPage1 GroupBandHeader1 datasources northwind.db QSQLITE ./demo_reports/northwind.db customers Select * from customers northwind.db