The idea is simple as follows:
Regular report with a group header based on the field (Name). This Name group header contains two fields, one is the employee Number and the other is the Name field itself.
The Detail section contains some fields based on a query.
The question is:
Thru VBA code, how can I change the group header from the Name field to some other field (lets say JobLocation) keeping the Number and Name fields in the new group header as before. I'm trying to make a multi-purpose report that changes its grouping field based on a selection from another form.
Thanks folks...
McCloud
Regular report with a group header based on the field (Name). This Name group header contains two fields, one is the employee Number and the other is the Name field itself.
The Detail section contains some fields based on a query.
The question is:
Thru VBA code, how can I change the group header from the Name field to some other field (lets say JobLocation) keeping the Number and Name fields in the new group header as before. I'm trying to make a multi-purpose report that changes its grouping field based on a selection from another form.
Thanks folks...
McCloud