how to use grouping in datareport and to use shape command