>thisform.PageFrame.ActivePage = 2 >thisform.Pageframe.Page2.TextBox.SetFocus() >>
>WITH ThisForm > SELECT (.cTable) && Select the appropriate table for the Page of > && the PageFrame the user is on. > IF .cmdTransDist.Caption = "\<Transaction" > .pgfAPTransaction.Page1.Click() > .pgfAPTransaction.ActivePage = 1 > .pgfAPTransaction.Page1.SetFocus() > ELSE > .pgfAPTransaction.Page2.Click() > .pgfAPTransaction.ActivePage = 2 > .pgfAPTransaction.Page2.SetFocus() > ENDIF >ENDWITH >