Solved

Displaying a form from a form

Posted on 1998-07-05
1
137 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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

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 …
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

773 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