Normally to set the stort direction on a group you would do something like this:
But how could I set the sort direction on multiple sub reports if each sub report has one group, at run-time?Code:vrptObj.GroupSortFields(1).SortDirection = crDescendingOrder




Reply With Quote