views:

270

answers:

1

To report current record in dataset I have made (one record by page):

RvSystem1.SystemPrinter.FirstPage := DataSet.RecNo;
RvSystem1.SystemPrinter.LastPage := DataSet.RecNo;

So, how we can report only selected records in DataSet when all records appears in the same page. Something like:

RvProject1.SelectReport('Report1');
for I := 0 to DBGrid1.SelectedRows.Count - 1 do begin
  /// ???
end;
  RvProject1.Execute;

Thanks in advance.

A: 

Maybe that can be done by filtring DataSet with SelectedRows than execute report.

Kachwahed