H
h2fcell
OK here’s a tricky one in Access 2007.
I have a report that opens using the below code.
Private Sub Command13_Click()
Dim myFilter As String
myFilter = "[Network] = [Forms]![frmNWDialog_for_rptNet3_3]![cboNetwork]" _
& " And [DepartureDate] Between
[Forms]![frmNWDialog_for_rptNet3_3]![tboFromDate] And
[Forms]![frmNWDialog_for_rptNet3_3]![tboToDate]"
DoCmd.OpenReport "rptNet3_3_Summary_By_Date", acViewPreview, , myFilter,
acWindowNormal
End Sub
I have set the following properties:
“Allow Report View†= No
“Allow Layout View†= No
When I right click on the report print preview, the following shortcut menu
appears.
Design View
Print Preview
Zoom: 100%
One Page
Multiple Pages
Page Setup…
Print…
Save As…
Export
Send To
Close
I need all the options except Design View.
Is there a way via code to get rid of Design View from that menu?
Please help.
Thanks.
I have a report that opens using the below code.
Private Sub Command13_Click()
Dim myFilter As String
myFilter = "[Network] = [Forms]![frmNWDialog_for_rptNet3_3]![cboNetwork]" _
& " And [DepartureDate] Between
[Forms]![frmNWDialog_for_rptNet3_3]![tboFromDate] And
[Forms]![frmNWDialog_for_rptNet3_3]![tboToDate]"
DoCmd.OpenReport "rptNet3_3_Summary_By_Date", acViewPreview, , myFilter,
acWindowNormal
End Sub
I have set the following properties:
“Allow Report View†= No
“Allow Layout View†= No
When I right click on the report print preview, the following shortcut menu
appears.
Design View
Print Preview
Zoom: 100%
One Page
Multiple Pages
Page Setup…
Print…
Save As…
Export
Send To
Close
I need all the options except Design View.
Is there a way via code to get rid of Design View from that menu?
Please help.
Thanks.