how to ACTIVATE A SUBFORM

i USED THE CODE

CurrForm.SUBFRM.ENABLED(FALSE);

IN MAIN FORM

NOW IN SUBFORM IN

OnActivateForm() Trigger i want to reenable the subform. what code whould i write?

If a form is not enabled it cannot get a focus when the user clicks on it, so it can never be activated like that. What is it that you are trying to accomplish?