Bob,
In a formset, the dataenvironment is contained by the formset, not the forms. You refer to the dataenvironment as ThisFormSet.DataEnvironment.cursor.blah.blah.blah... All forms in a formset share the formset's dataenvironment by default. Since each form in the set is already instantiated all you have to do is show/hide each form. When the last form in a formset is released the formset is automatically released. ThisFormSet.Refresh(0) automatically refreshes all forms in the formset. I could go on ad nauseum about the advantages of using a formset. The only issue I have to deal with is if I want only one of the forms in the set to be modal. This is not supported. So, I simply llaunch a single form formset designated as modal and life is good.
MSFT did not add the MemberClass or MemberClassLibrary properties to the formset class, only the form class. Bummer...
Jeff
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only