Hi,
I am using the same form for two purposes. When the user clicks the 'Graph Report' button i want the 'GetGraphDatesStaub' form to open up but to disable the 'Weekly report' Button.
This is what i have for the code in the 'Graph Report' button
I was trying to use the DoCmd.openForm to find if i can disable the button in the "GetGraphDatesStaub" form. the name of the button i want to disable is 'Weekly_Report'.
Any help will be great.
thanks.
I am using the same form for two purposes. When the user clicks the 'Graph Report' button i want the 'GetGraphDatesStaub' form to open up but to disable the 'Weekly report' Button.
This is what i have for the code in the 'Graph Report' button
Code:
Private Sub Graph_percent_rejected_Click()
OpenForms ("GetGraphDatesStaub")
'Docmd.OpenForm ("GetGraphDatesStaub",acNormal,,,acFormEdit,acWindowNormal)
End Sub
I was trying to use the DoCmd.openForm to find if i can disable the button in the "GetGraphDatesStaub" form. the name of the button i want to disable is 'Weekly_Report'.
Any help will be great.
thanks.