E eyalco Registered User. Local time Today, 05:39 Joined Jul 24, 2007 Messages 50 Nov 7, 2007 #1 I'm trying to contol tab/enter so that when user presses it in a sub form, there's a msgbox asking him if he wants to move to another line or from the subform to the form itself. How do I do it please? Thanks.
I'm trying to contol tab/enter so that when user presses it in a sub form, there's a msgbox asking him if he wants to move to another line or from the subform to the form itself. How do I do it please? Thanks.
Guus2005 AWF VIP Local time Today, 14:39 Joined Jun 26, 2007 Messages 2,636 Nov 7, 2007 #2 Program the lostfocus events of the controls on the subform
E eyalco Registered User. Local time Today, 05:39 Joined Jul 24, 2007 Messages 50 Nov 7, 2007 #3 Thanks. How do I recognize the tab button in the code?
Guus2005 AWF VIP Local time Today, 14:39 Joined Jun 26, 2007 Messages 2,636 Nov 8, 2007 #4 Oops, do not program the lost focus event but the keypress event of each control on your subform Then check the character if it matches vbTab.
Oops, do not program the lost focus event but the keypress event of each control on your subform Then check the character if it matches vbTab.