>Hi Gang!
>
>I have a form B with a TABBED Pageframe on it.
>
>I have a form A. On form A I have 2 command buttons.
>
>I want to be able to select the 1st command button and go to form B and Activate TAB A on the form.
>
>Also, when I select the 2nd command button, I would like to go to form B and Activate TAB B on the form.
>
>But when I do, it only Activates TAB A, even though the code is run that should Activate TAB B...
>
>here is the code in FORM B's Init....
>
>
>IF Thisform.p_whichtab = 'Add'
> Thisform.pgfChipRewardNumber.pageHOH.Activate
> Thisform.pgfChipRewardNumber.pageHOH.txtChipRewards.SetFocus
>ELSE
> Thisform.pgfChipRewardNumber.pagePatients.Activate
> Thisform.pgfChipRewardNumber.pagePatients.txtChipNumber.SetFocus
>ENDIF
>Thisform.Refresh
>
>
>Thanks!
Have you tried:
thisform.pgfChipRewardNumber.ActivePage = 1
If it's not broken, fix it until it is.
My Blog