Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How to go back to main form after crystal reports report form is closed

Posted on 2004-10-11
2
Medium Priority
?
293 Views
Last Modified: 2011-09-20
I have successfully created a crystal reports report, created the windows form, added the crystal reports viewer to it
and added the report option "user List" to my menu "reports".  Everything works except when I close the report.
The program ends instead of going back to f1.  What do I need to do?

Private Sub MenuUserList_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MenuItem1.Click
        f1.Hide()
        If f4 Is Nothing Then
            f4 = New frmRptUserList
        End If
        f4.Show()


    End Sub
0
Comment
Question by:RuthD2004
  • 2
2 Comments
 
LVL 101

Accepted Solution

by:
mlmcc earned 1000 total points
ID: 12280017
In the close event of f4 add a line

f1.show()

mlmcc
0
 
LVL 101

Expert Comment

by:mlmcc
ID: 12330050
Glad I could help

mlmcc
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Six Sigma Control Plans
Progress

886 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