>Here's my object hierarchy:
>
>frsPurchase1 (formset)
> Purchase ( form)
> PageFrame1 (page frame)
> Page1 (page that grid is on)
>
>Page1's ActivateEvent shows as [Default], BUT cannot be modifed.
>The only objects that can have their ActivateEvent modified are the frsPurchase1 (currently [Default]), and Purchase (where I put the code from your prior message).
>
>I'm going to see if there is some other Page1 event where I can stick this latest code you gave me...
>
>Update: actually it looks like NONE of Page1's properties can be changed from their defaults. e.g. It will not even allow me to change Page1's Caption... Maybe because a page frame is being used all rules go out the window?
The first problem is formset. If it's possible to get rid of it, try to get rid of it. Formsets will give you nothing but the troubles. I do now remember what we once had a big problem with formset with my colleague couple of years ago.
I'm not sure why you can not modify the activate method of the page. You should be able to do it even with the formsets, as far as I know.
The only problem you may have is pages name, which you can not change if you use pageframe class with several pages defined inside the class.
If it's not broken, fix it until it is.
My Blog