Catrina
April 5th, 2000, 10:55 AM
I have a main form (Menu) that has a Option button to
take the user to another form. Code:
private Sub optHeader_DblClick()
If optHeader.Value = true then
Load frmHeader1
End If
End Sub
The Form_Load code for frmHeader1 is:
private Sub Form_Load()
frmHeader1.Show
Message = InputBox$("Enter Message for Printing on Check Stub", "Check Stub Message")
Deduct = MsgBox("Do You Wish to Block Any Deductions This Pay Period?", vbYesNo + vbDefaultButton2)
Report = MsgBox("Do You Wish to Override Your Normal Report Requests?", vbYesNo + vbDefaultButton2)
fraDate.Visible = true
End Sub
Information is then added by the user from controls in the frame fraDate. After the info is entered, I want a way to close this form and show the Menu again. I can accomplish this, but it will not let me go back into the frmHeader1 a second time. I need to be able to got back into that form as many times as possible. Thank you in advance.
Catrina
take the user to another form. Code:
private Sub optHeader_DblClick()
If optHeader.Value = true then
Load frmHeader1
End If
End Sub
The Form_Load code for frmHeader1 is:
private Sub Form_Load()
frmHeader1.Show
Message = InputBox$("Enter Message for Printing on Check Stub", "Check Stub Message")
Deduct = MsgBox("Do You Wish to Block Any Deductions This Pay Period?", vbYesNo + vbDefaultButton2)
Report = MsgBox("Do You Wish to Override Your Normal Report Requests?", vbYesNo + vbDefaultButton2)
fraDate.Visible = true
End Sub
Information is then added by the user from controls in the frame fraDate. After the info is entered, I want a way to close this form and show the Menu again. I can accomplish this, but it will not let me go back into the frmHeader1 a second time. I need to be able to got back into that form as many times as possible. Thank you in advance.
Catrina