Information générale
Catégorie:
Gestionnaire de rapports & Rapports
I have a problem with grouping on my report. I fill up a cursor using a select statement. I get all the information I want in the cursor. But all my information shows up too many times.
This is the information in my cursor
Material ID | Description | MatKey | TextID | Textname | cmKey
vx002 | forms package| 1 | cb200 | Travel | 7
vx002 | forms package| 1 | cb110 | Tourism | 8
vx004 | envelopes | 2 | cb200 | Travel | 7
vx004 | envelopes | 2 | cb110 | Tourism | 8
The material ID shows up twice because there is two textbooks assigned to a student. If I group by matkey on the report and put MaterialID and Description fields in there only one of the records should show up for each. And if I group by cmkey the textid and textname should show up only once. But this is what my report looks like
Item | Description
cb200 Travel
vx002 forms package
cb110 Tourism
cb200 Travel
vx004 envelopes
cb110 Tourism
It repeats this process for the number of materials I have. Is there a way that I can print only the textid and textname once and the the materials needed once. Thanks for any help.
Tyler
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement