Click Cmd Btn of Subfrom thur Cmd Butn on Main Form

Ashfaque

Search Beautiful Girls from your town for night
Local time
Tomorrow, 00:14
Joined
Sep 6, 2004
Messages
897
Hi,

I need to click a command button that placed on sub form while being on Main form. In other words if I clicks a command button on the main form, at the same time another command button on the sub form should be clicked. This is to take some actions.

I know the way like this "CmdSave_Click" but when I am on any of the form.

How about if I am on main form and need to click command button on subform?

Regards,
Ashfaque
 
still looking for answer...
 
Why can't you just run the code from your mainform click rather than run it from the subform click?

I do not know if you can refer to a subform button click as that code is labeled as Private.
 

Users who are viewing this thread

Back
Top Bottom