0

Im a newbie and I was using Fast Report in Delphi 10.1 Berlin. I successfully connected it to my database.

When the text connected to the data set is placed in the PageHeader Band, the database value was displayed in the report preview. See images below:

Before Report Preview:

enter image description here

During Report Preview:

enter image description here

But when the text is moved to MasterData Band, the text is not displayed in the report preview.

enter image description here

enter image description here

Why?

2 Answers2

2

Your masterband is not connected the frxdbdataset1 otherwise you see the name of the dataset in the yellow bar. Double click on the masterdata and select the dataset

Peter
  • 21
  • 1
  • I have done your suggestion, but it says: "Cannot use the same dataset for Report.DataSet and Band.DataSet", when I tried to preview/run the report. –  Sep 02 '16 at 00:29
  • 1
    Then remove the dataset from Report.Dataset, you don't need that property (in fact I don't know its exact purpose). – Marc Guillot Sep 02 '16 at 06:57
0

Are you sure the Dataset connected to frxDBDataset1 is open and has at least one record ?

Marc Guillot
  • 6,090
  • 1
  • 15
  • 42
  • yes it is open. In fact it shows the record when the text connected to the dataset is displayed on other Bands. –  Sep 02 '16 at 00:30