Hi all. I'm trying to group by a field called description in my report but when I click to Add a Group in CR, that field doesn't appear. My report is based on a Crystal SQL Query which looks as follows:
SELECT
A.MC_LICENSE_ID,
A.COUNT,
B.HITS,
B.USERS,
C.M_PUBLICATION_ID,
C.DESCRIPTOR,
C.MC_MEGACLIENT_ID,
C.MC_MEGACLIENT_KEY
FROM
MC_LICENSE_DATA A,
MC_PUBN_HITS B,
MC_VALID_PUBLICATION C
WHERE
A.M_PUBLICATION_ID (+)= C.M_PUBLICATION_ID AND
A.MC_MEGACLIENT_ID (+)= C.MC_MEGACLIENT_ID AND
C.MC_MEGACLIENT_ID = B.MC_ID (+) AND
C.MC_MEGACLIENT_KEY = B.MC_KEY (+) AND
C.M_PUBLICATION_ID = B.PUBN_ID (+) AND
C..MC_MEGACLIENT_KEY = '{?MegaClient_Key}'
When I add this query to my report, I can add any of the fields to see them on the report. Unfortunately, only the other 7 fields (not descriptor) appear in the drop down box to add as a group. Does anyone know why it won't display all of the fields so I can choose which to group by?
Thanks,
CrystalVisualBOralce
SELECT
A.MC_LICENSE_ID,
A.COUNT,
B.HITS,
B.USERS,
C.M_PUBLICATION_ID,
C.DESCRIPTOR,
C.MC_MEGACLIENT_ID,
C.MC_MEGACLIENT_KEY
FROM
MC_LICENSE_DATA A,
MC_PUBN_HITS B,
MC_VALID_PUBLICATION C
WHERE
A.M_PUBLICATION_ID (+)= C.M_PUBLICATION_ID AND
A.MC_MEGACLIENT_ID (+)= C.MC_MEGACLIENT_ID AND
C.MC_MEGACLIENT_ID = B.MC_ID (+) AND
C.MC_MEGACLIENT_KEY = B.MC_KEY (+) AND
C.M_PUBLICATION_ID = B.PUBN_ID (+) AND
C..MC_MEGACLIENT_KEY = '{?MegaClient_Key}'
When I add this query to my report, I can add any of the fields to see them on the report. Unfortunately, only the other 7 fields (not descriptor) appear in the drop down box to add as a group. Does anyone know why it won't display all of the fields so I can choose which to group by?
Thanks,
CrystalVisualBOralce