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 3:15AM
    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