>I have a 3 page form. on the second page I have a command button that has this code in it's click:
>
>thisform.pgfService.Page3.txtfac_reg_labor.setfocus()
>
>can anyone tell me why it doesnt change pages???
>
>TIA
>Dan
Dan you need there
thisform.pgfService.ActivePage = 3
and move
thisform.pgfService.Page3.txtfac_reg_labor.setfocus()
to Page3.Activate.
Nick
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison