need explication about dataset

edited 12:52PM in FastReport 4.0
good morning,


There are 3 possibilities to set the "dataset" parameter:

1) on the databand: masterdata.dataset='frxdbdataset1'
2) on the page: frxreportpage.dataset='frxdbdataset1'
3) on the frxreport component (on delphi EDI) : frxreport.dataset='frxdbdataset1'

I use and I understand the case (1) ,but I don't really understand the use of case(2) and (3)

I try to set frxreportpage.dataset='xxx' and masterdata.dataset='xxx' with the same dataset parameter but this makes an error.
Same error if I try to set frxreport.dataset='xxx' and masterdata.dataset='xxx' with the same dataset parameter

could you explain me the use of case 2) and case 3) ?

regards

Comments

  • gpigpi
    edited 12:52PM
    2 - TfrxReportPage will be prepared for each record of frxdbdataset1
    3 - TfrxReport will be prepared for each record of frxdbdataset1

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.