Hi all,
I am using Crystal Reports XI and want to do the following:
I need to make a sum of a quantity field but the group by should be done on two columns.
The primary key of the table looks like this:
COLLECTION_ORDER -> OrderNumber
COLLECTION_ORDER -> OrderLineNumber
I want to sum the field COLLECTION_ORDER -> Quantity and have a group by on the primary key.
So the sum should look like this:
Sum ({COLLECTION_ORDER.QUANTITY}, [{COLLECTION_ORDER.ORDERNUMBER}{COLLECTION_ORDER.ORDERLINENUMBER}])
But this is not supported.
Is there a way to do a group by on more than one column ?
I am using Crystal Reports XI and want to do the following:
I need to make a sum of a quantity field but the group by should be done on two columns.
The primary key of the table looks like this:
COLLECTION_ORDER -> OrderNumber
COLLECTION_ORDER -> OrderLineNumber
I want to sum the field COLLECTION_ORDER -> Quantity and have a group by on the primary key.
So the sum should look like this:
Sum ({COLLECTION_ORDER.QUANTITY}, [{COLLECTION_ORDER.ORDERNUMBER}{COLLECTION_ORDER.ORDERLINENUMBER}])
But this is not supported.
Is there a way to do a group by on more than one column ?