CoolFactor
Technical User
This maybe very simple but how can I add a message box to the following command button on the click event in which if the answer to the question is Yes then open the Report and if the answer to the question is No then do not open the Report. I guess it's more like a statement followed by a question:
"In order view this Report you must first Update Price Points. Have Price Points been Updated?"
The following code is where I want to include my message:
Private Sub cmdP3MSummary_Click()
DoCmd.OpenReport "P3M_Summary", acViewPreview, "", ""
DoCmd.Maximize
End Sub
"In order view this Report you must first Update Price Points. Have Price Points been Updated?"
The following code is where I want to include my message:
Private Sub cmdP3MSummary_Click()
DoCmd.OpenReport "P3M_Summary", acViewPreview, "", ""
DoCmd.Maximize
End Sub