ShowRepport Error

Hi,

In a Delphi program I'm trying to print a kalendar using FastReport. When I call frxReport1.ShowReport I get this errormessage:

Cannot use the same dataset for Report.Dataset and Page.Dataset

And the Dataset assignments for Report and Page:
frsReport1.Dataset = frxDBDataset1
Page1(TfrxReportPage).Dataset = frxDBDataset1

I have tried to change the two assignments to something else (=Table1) but ??then I get the error message "Invalid Property"

Can somebody help me with this problem??

BR
Lars

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 5:35PM
    As the error states
    You cannot have the report.dataset property and the page.dataset property pointing to the same dataset.
    the report.dataset property is usually used with multi design page reports and controls the number of times the report is processed. you probably need to remove its refrence to the dataset.

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.