Changed a form to have two tab control

C

Cbeckwith

Code was writtten on the original form, but form is still named the same, the
only thing that has changed is the control for the form changed to tabbed
control and then I moved the individual controls to the appropriate tabbed
sheets. Having a problem with the cmd buttons exiting to a main form, so I am
thinking that I need to change the syntax on the code properites somehow. The
main form is called "POCheck", the individual tabs are called "PO Form" and
"Checkbook Form". I am not sure how the snytax needs to refer to the tabs?
Here is an example:

Private Sub cmdExit_Click()
Me.Refresh
DoCmd.Close
DoCmd.OpenForm "Main Menu", acNormal
End Sub
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top