Solved

Displaying a form from a form

Posted on 1998-07-05
1
138 Views
Last Modified: 2010-05-03
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
Comment
Question by:regent
1 Comment
 
LVL 4

Accepted Solution

by:
yowkee earned 100 total points
ID: 1464999
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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question