How do I create groups at runtime thru VB 2003
Thanks
Thanks
You can't create a group at runtime but you can change a group at runtime. So in the report design you would need to have the groups created and then at runtime you can change what the grouping is on.
The one challenge with this scenario is that the number of groups can't be changed - so if your user only wants 1 group and you have 2 defined in the report they will still get 2 levels of grouping. You could get around this by having different reports and each report would have a different number of groups defined in it.
Changing the grouping at runtime is detailed in an article on the MSDN site:
Keith - Business Objects