terri said:
I am using 2000RT.
Access help says the RepeatSection property may be set via code, however, I
have not been able to find ANY event that allows it to be changed. Can it
only be accessed in design?
I think using VBA in the report itself to manipulat
RepeatSection either only operates on the next group or can
only be done in the report's Open event. In any event, it's
not a solution to whatever problem you're trying to solve.
Prior to A2003, there were many situations where doing
things (Cancel, Visible, ??) to a repeated section caused
the report to hang. I have learned the hard way to use this
property only in a simple straightforward way. In A2003,
they "fixed" the hang problem by simply turning the property
off whenever you tried to do anything fancy with it.
Be careful when you see a help topic that says something can
be set using VBA code. There are some things where that is
true, but only in a design time wizard type procedure.