>Otherwise, if you want to keep F8, change your KeyPress() code to this:
>If nKeyCode = -7 && F8
> ThisForm.Save.SetFocus()
> ThisForm.Save.Valid()
>EndIf
Mike...
I've done this... But I have a problem...
In Form1.TextBox.Valid:
Do Form2 To m.var1 With m.var2
In Form2
ThisForm.xxxx.SetFocus()
An error appear: SetFocus can't fire in Valid...
When I have one problem solver, Another apper to make me crazy!
:)
I will test put Save button with "Default"
Thank you.
Rodolfo Duarte...
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Rodolfo Duarte