开发者

How can I print SelectedRows in DBGrid using Rave Report?

开发者 https://www.devze.com 2022-12-12 13:51 出处:网络
To report current record in dataset I have made (one record by page): RvSystem1.SystemPrinter.Fi开发者_JS百科rstPage := DataSet.RecNo;

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

RvSystem1.SystemPrinter.Fi开发者_JS百科rstPage := 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.


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

0

精彩评论

暂无评论...
验证码 换一张
取 消