|
-
Jul 5th, 2000, 11:04 PM
#1
Thread Starter
Fanatic Member
I'm trying to get from the main form to the final form of my program which gives the user results from their quiz. The problem I'm having is that it loads the Summary but then it goes back to the code from the Quiz. Here's my code to get me from the Quiz form to the Summary form:
frmSummary.Show
frmSummary.Top = frmQuiz.Top
frmSummary.Left = frmQuiz.Left
Unload frmQuiz
The Summary code is very simple:
Private Sub Form_Load()
lblTally.Caption = " " & Correct & " out of " & (QAsked + 1) & Chr$(13) & " Your Score:" & Int((Correct / (QAsked + 1)) * 100) & "%"
End Sub
Private Sub cmdSubmit_Click()
End
End Sub
But instead of waiting for the Submit Click (which has been titled "Exit Program", it goes right back into the Quiz form code. Can anyone tell me what the heck is going on?
mikeycorn
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|