March 28th, 2010, 09:59 PM
posted to microsoft.public.access.forms
|
|
Control Form form a Sub Form
Thanks
Douglas J. Steele wrote:
Allen told you how to enable a command button on the parent form, not how to
run the code associated with the button's Click event.
To have it call the code, you'd need
Call Me.Parent.Command99_Click
Note that you'll need to change the declaration for Command99_Click from
Private Sub Command99_Click()
to
Public Sub Command99_Click()
Incidentally, do yourself a HUGE favour, and start renaming your controls so
that they're more meaningful.
Allen many thanks.
I am sorry I wasn't precise enough .
[quoted text clipped - 15 lines]
probably the dblClick event of the subform's Detail section you want to
use.
--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...forms/201003/1
|