开发者

How can I print SelectedRows in DBGrid using Rave Report?

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜