soundsfishy
Registered User.
- Local time
- Today, 16:03
- Joined
- Sep 25, 2002
- Messages
- 174
I want to add to a Message box asking if users want make changes after click an option in an Option Group
I need to incorporate something like this into select case after a selection has been made eg
If Case1 is selected , I need MsgBox to appear asking if the user want to make changes to a report. If Yes then, the DoCmd Open report will be acViewPreview, if user selects No then
DoCmd open report will print as acViewNormal.
I will be using the same method for Case 2 and Case 3.
I not sure how to correctly right this.
I know using just Select Case but not using any IF statements.
Im currently using
Private Sub grpPrint_Click()
Select Case Me!grpReports
Case 1
DoCmd.OpenReport "rptLetter1", acViewPreview, , "[ClientID] = " & Me.ClientID
I hope this is possible
I need to incorporate something like this into select case after a selection has been made eg
If Case1 is selected , I need MsgBox to appear asking if the user want to make changes to a report. If Yes then, the DoCmd Open report will be acViewPreview, if user selects No then
DoCmd open report will print as acViewNormal.
I will be using the same method for Case 2 and Case 3.
I not sure how to correctly right this.
I know using just Select Case but not using any IF statements.
Im currently using
Private Sub grpPrint_Click()
Select Case Me!grpReports
Case 1
DoCmd.OpenReport "rptLetter1", acViewPreview, , "[ClientID] = " & Me.ClientID
I hope this is possible