C
chopper57 via AccessMonster.com
I have a Option Group that presently opens a popup form, I want to change the
setup by placing the forms as subforms and placing page breaks.
I don't know what to write in the case statement for pagebreaks.
This is what I have now for popups:
Private Sub optEnrollment_Click()
Dim strForm As String
Select Case optEnrollment
Case 1
strForm = "frmPlanAsSs"
Case 2
strForm = "frmPlanAsSs"
Case 3
strForm = "frmPlanAsSs"
Case 4
strForm = "frmPlanAsSs"
Case 5
strForm = "frmPlanAsSs"
Case 6
strForm = "frmPlanAsSs"
Case 7
strForm = "frmPlanTKD"
Case 8
strForm = "frmPlanAsSs"
Case 9
strForm = "frmPlanTKD"
End Select
DoCmd.OpenForm strForm, acNormal
End Sub
I have to forms that open depending on which class is chosen, from what I've
seen on the site a lot of people say this is a better way then popups.
setup by placing the forms as subforms and placing page breaks.
I don't know what to write in the case statement for pagebreaks.
This is what I have now for popups:
Private Sub optEnrollment_Click()
Dim strForm As String
Select Case optEnrollment
Case 1
strForm = "frmPlanAsSs"
Case 2
strForm = "frmPlanAsSs"
Case 3
strForm = "frmPlanAsSs"
Case 4
strForm = "frmPlanAsSs"
Case 5
strForm = "frmPlanAsSs"
Case 6
strForm = "frmPlanAsSs"
Case 7
strForm = "frmPlanTKD"
Case 8
strForm = "frmPlanAsSs"
Case 9
strForm = "frmPlanTKD"
End Select
DoCmd.OpenForm strForm, acNormal
End Sub
I have to forms that open depending on which class is chosen, from what I've
seen on the site a lot of people say this is a better way then popups.