techsponge
Technical User
I have a form, with multiple tabs. On the product catagory pricing tab, I have a button that will print the product catagory price list report. This report has 5 pricing levels.
My button works great and prints the report. I have placed an unbound checkbox above each level on the form, and am trying to limit which levels will print on the report, since we do not want all customers to see the complete pricing. We may want one customer to see levels 1,2,3 and another may only see 4 & 5.
Form name: F0004_YourCompany
Tab/Page:tabCatagory
SubForm: AF01_MajorCatagory
Controls: 5 Checkboxes (chklevel1,chklevel2,chklevel3,chklevel4,chklevel5)
Report: "rptPrice List By Catagory"
I have placed the following in the OnOpen event of the report but it says it cannot find the control "chklevel1"
Thanks in advance for any help
My button works great and prints the report. I have placed an unbound checkbox above each level on the form, and am trying to limit which levels will print on the report, since we do not want all customers to see the complete pricing. We may want one customer to see levels 1,2,3 and another may only see 4 & 5.
Form name: F0004_YourCompany
Tab/Page:tabCatagory
SubForm: AF01_MajorCatagory
Controls: 5 Checkboxes (chklevel1,chklevel2,chklevel3,chklevel4,chklevel5)
Report: "rptPrice List By Catagory"
I have placed the following in the OnOpen event of the report but it says it cannot find the control "chklevel1"
Code:
If Forms!F004_YourCompany!chklevel1 = True Then
Me.Level1.Visible = True
End If
Thanks in advance for any help