J
JoeP
I have a main form in datasheet view called MainForm. On MainForm is a
subform called DataSubForm. DataSubForm has a Close command button on it.
When I open the subform and enter my data I want to be able to click the
Close button on the subform to close it (collapse it out of the way) and
leave MainForm open.
I placed the following coding on the command button...
DoCmd.Close acForm, "DataSubForm"
If I open DataSubForm by itself to test the command button it closes properly.
When the MainForm is open and I try to click the Close button on DataSubForm
nothing happens.
What step am I missing? Thanks for any help.
JoeP
subform called DataSubForm. DataSubForm has a Close command button on it.
When I open the subform and enter my data I want to be able to click the
Close button on the subform to close it (collapse it out of the way) and
leave MainForm open.
I placed the following coding on the command button...
DoCmd.Close acForm, "DataSubForm"
If I open DataSubForm by itself to test the command button it closes properly.
When the MainForm is open and I try to click the Close button on DataSubForm
nothing happens.
What step am I missing? Thanks for any help.
JoeP