>On the Page1.Add button CLick it runs:
>
>THISFORM.AddNew
> Code.....
> Code....
> Code....Yada, Yada, Yada
>and then....
>THISFORM.PageFrame1.Page1.txtVendor.SETFOCUS()
>
>If I am on Page2 I can click the Page2.Addbutton and it runs the SAME code, but the SETFOCUS works. The only thing that I can see different is the VALID of the txtVendor runs for no apparent reason on the one that doesn't work.
>
>Tim
You might try "NoDefault" as the last line of this code [after SetFocus()]
Mark McCasland
Midlothian, TX USA