Hey guys
I have 2 radio buttons and a button on a form. If the user clicks on one radio button and clicks on the form's button it opens one report and when the user clicks on the 2nd radio button and clicks on the form's button, it opens the second report.
However what really does happen is that, whatever radio button I click on, and click on the form's button, instead of opening the particular report I wish for, it appears as though its trying to print and it also opens Microsoft Office One Note and a message appears saying "Files from other programs cannot be opened in onenote, select a onenote file.
Below is the code I am using:
Private Sub Command10_Click()
Select Case Me!Frame19
Case 1
DoCmd.OpenReport "rptIssSummary"
Case 2
DoCmd.OpenReport "rptAssSummary"
Case Else
'do nothing
End Select
End Sub
Im really baffled with this one
Thanks for your time guys
George
I have 2 radio buttons and a button on a form. If the user clicks on one radio button and clicks on the form's button it opens one report and when the user clicks on the 2nd radio button and clicks on the form's button, it opens the second report.
However what really does happen is that, whatever radio button I click on, and click on the form's button, instead of opening the particular report I wish for, it appears as though its trying to print and it also opens Microsoft Office One Note and a message appears saying "Files from other programs cannot be opened in onenote, select a onenote file.
Below is the code I am using:
Private Sub Command10_Click()
Select Case Me!Frame19
Case 1
DoCmd.OpenReport "rptIssSummary"
Case 2
DoCmd.OpenReport "rptAssSummary"
Case Else
'do nothing
End Select
End Sub
Im really baffled with this one
Thanks for your time guys
George