You are probably going to have to find another approach. What you are actually doing is changing the design of the report on the fly. In 2000 and later versions, this will not work in a multi user environment, since you need exclusive access to the database to make any programming changes.
I would suggest adding the header and hiding it if necessary, or have two reports (not the best approach, but possibly the only feasible one).
I thought about doing two or more reports...but unfortunately, the way the system is set up, the user has an option of setting two group levels each with five variables. So I'd need a bunch of reports, each with a different header.
The more I think about this the more it doesn't make sense.
Why have commands to create group levels and such if you can't use them?
At the moment, the db isn't a multiuser environment. At any given moment only one user will be using it. (For now)
With that said, could I open the report in design mode and make set .visible = False then modifiy using the form? Or maybe have a "base" report and create copies on the fly from that the user can modify that would be deleted after it was/is used.
The problem with mulitple reports is I think I'll have somethign like 25ish reports with the same data but just different header groupings. Maybe I'm getting hung up on this but it seems like Access should be able to handle creating a header group on the fly.