Delphi trlReport with Group does not load the first record

Asked

Viewed 63 times

0

I have the sql return:

|dt_producao| 
|20/09/2016 |
|20/09/2016 |
|20/09/2016 |
|21/09/2016 |
|21/09/2016 |
|22/09/2016 |
|24/09/2016 |

I’m trying to create a report that makes me join:

|dt_producao|
|20/09/2016 |
|21/09/2016 |
|22/09/2016 |
|24/09/2016 | 

In Delphi I put the components inside each other according to the sequence of the description below.

TRLReport vinculado ao meu data source
TrlGroup quebrando pela data
TRLBand com bandType btFooter
TRLDBText relacionando o meu dt_producao

At the time of printing he is ignoring the first record and printing from the second onwards.

  • I don’t know exactly how your code is, but it’s important that the dataset is on the first record Dataset.First;. You can confirm?

  • he is on the first record.

  • A question: Why the bandtype is as btFooter? Have you tried, at least for testing, to put it as Detail?

  • If I put Detail in Band he’ll bring me all the records.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.