I placed the design of my second form in my first form, but when I click the button, the second form still pops up as a separate window, and the secondform I have embedded onto my first form does nothing, it is just a blank space.
The code (DoCmd.OpenForm "secondform") I believe is the reason...