Command Button from subform

plucnik

Registered User.
Local time
Today, 16:50
Joined
Nov 11, 2003
Messages
34
Ok, I admit it. I'm looking for the easy way out. Here's my predicament.
We have a form with an embedded subform. Both forms have data. A command button (with code) on the main form manipulates an individual record chosen (with a check box) on the subform. I want to run the code on the main form command button from a newly created command button on the subform. So far....my limited VB skills are not allowing me to figure this out. I think it may have something to do with having the main forms focus.
Plan B......is it possible to "press" the command button on the main form with a similar command button on the subform (and "fool" the code to thinking it's running with the main form focus)?
I know it's sloppy but ...thanks! :D
 
Thanx TruckTime!
 

Users who are viewing this thread

Back
Top Bottom