Form, subforms

g28dman

Registered User.
Local time
Yesterday, 19:56
Joined
Nov 4, 2005
Messages
84
I have been trying to do something, and I dont know if can be or not.

I have a main form, FormA that has a unbound subform we'll call sfrmA. I also have sfrmB.

I would like a command button to change sfrmA to sfrmB. I got this working having the command button on the main form (FormA).

Is it possible to move this command button off of the main form, and place it onto sfrmA?

Thanks
 
I have been trying to do something, and I dont know if can be or not.

I have a main form, FormA that has a unbound subform we'll call sfrmA. I also have sfrmB.

I would like a command button to change sfrmA to sfrmB. I got this working having the command button on the main form (FormA).

Is it possible to move this command button off of the main form, and place it onto sfrmA?

Thanks

Me.Parent.MySubForm.SourceObject = "sfrmB"

where MySubForm is the name of your subform
 
Last edited:
Thanks Peter

I was making it out to be harder than it was, and was confusing myself along the way.
 

Users who are viewing this thread

Back
Top Bottom