How do I group Groupheader over more than one field?

Asked

Viewed 2,414 times

1

I am making a report in Fastreport that returns demonstrates the following fields:

codigo cliente  
nome cliente  
data do atendimento  
codigo atendente  
nome Atendente  
codigo atendimento  
motivo do atendimento

And needed to group the customer service/date/attendant showing the various customer service on the same day performed by a particular attendant grouped.

However in the groupheader of fastreport only allows selecting a single field (at least as I know it). How do I group through more than one field simultaneously?

1 answer

0


A simple alternative is to create a Field that is the concatenation of the information you need to group. For example:

cast(Cliente || Data || Atendente as varchar(100)) as agrupa

From there in groupheader you group by field agrupa.

Browser other questions tagged

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