I downloaded Checkbox open form.zip from this site (thank you Ansentry)and looked at the code. it is exactly what i needed to use thank you.
It uses option group for teh checkboxes
It runs perfectly when I double click in access but i would like to use this in vba when called from another form. When i put the code in and try to run it I get the error:
Compile Error
Method or data member not found
It is referring to .Frame8
here is the code i used
DoCmd.OpenForm "Mainform", acNormal
Select Case Me.Frame8
Case 1
Open Form 1
Case 2
Open Form 2
Case 3
Open Form 3
Case Else
MsgBox "You did not make a selection"
End Select
Please can you help me
Many thanks
Gary
It uses option group for teh checkboxes
It runs perfectly when I double click in access but i would like to use this in vba when called from another form. When i put the code in and try to run it I get the error:
Compile Error
Method or data member not found
It is referring to .Frame8
here is the code i used
DoCmd.OpenForm "Mainform", acNormal
Select Case Me.Frame8
Case 1
Open Form 1
Case 2
Open Form 2
Case 3
Open Form 3
Case Else
MsgBox "You did not make a selection"
End Select
Please can you help me
Many thanks
Gary