>Thanks a lot Edward, I did that in the init and also tried in the
>load event of the form :
>ON KEY LABEL PGUP THISFORM.trap_key(1)
>and it didn't like it, it returned me :
>"thisform can only be used in a method"
>So I went with the solution tha Dorris sugested me.
>Now I don't know why after setting my current page it doesn't refresh
>the fields that I have in that page, and after setting the current
>page I do a "MyForm.pageframe1.refresh", it is suppose to refresh
>the current page, isn't it?.
>Thanks again.
Use Formname.trapkey instead of Thisform.trapkey and it will work!
Edward Pikman
Independent Consultant