• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 148
  • Last Modified:

Displaying a form from a form

How code do I need to click a command box and display a new form (from the form I'm currently on), then get back to the calling form?
0
regent
Asked:
regent
1 Solution
 
yowkeeCommented:
regent,

  Hope I did not misunderstand your question.

  Display Form2 from Form1 -- Command1:

----
Private Sub Command1_Click()
    Form2.Show
    Me.SetFocus
End Sub
----

Regards.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now