Hi I have several forms within my application.
On Form1 I have a textbox.
When the user enters some data then hits enter I would like the other open form to gain focus, and setfocus on the first control, text1.
E.g
[blue]
Private Sub Text1_LostFocus()
ActiveForm.Text1.SetFocus[green]'The Program needs to work out what the active form is...[/green]
End Sub[/blue]
Kindest Regards
Jim
-*b/]
On Form1 I have a textbox.
When the user enters some data then hits enter I would like the other open form to gain focus, and setfocus on the first control, text1.
E.g
[blue]
Private Sub Text1_LostFocus()
ActiveForm.Text1.SetFocus[green]'The Program needs to work out what the active form is...[/green]
End Sub[/blue]
Kindest Regards
Jim
-*b/]