M mrgunner Registered User. Local time Today, 00:19 Joined Feb 24, 2009 Messages 24 May 29, 2010 #1 I use this code to "press" another command button that is on the same form, Code: Private Sub Btn_B_Click() cmd_Btn_A_Click End Sub but how do I "press" a command button from another form?
I use this code to "press" another command button that is on the same form, Code: Private Sub Btn_B_Click() cmd_Btn_A_Click End Sub but how do I "press" a command button from another form?
D darbid Registered User. Local time Today, 09:19 Joined Jun 26, 2008 Messages 1,428 May 30, 2010 #2 I believe that you would first have to make it Public to be able to call it from another form. Then you call it by first referring to the form. this thread might help you http://www.access-programmers.co.uk/forums/showthread.php?t=153447
I believe that you would first have to make it Public to be able to call it from another form. Then you call it by first referring to the form. this thread might help you http://www.access-programmers.co.uk/forums/showthread.php?t=153447