I have a report I'm making to look like a original 2 part hand written form. There are two check boxes a user could check depending on which our Offices they are at.
My form has a combo box that they choose the Office A or B.
I want to check Box A on the report if A is choosen and B if B is choosen.
NO luck with this code
any Ideas
DougP, MCP, A+
I love this site and all you folks that helped me over the years!
My form has a combo box that they choose the Office A or B.
I want to check Box A on the report if A is choosen and B if B is choosen.
NO luck with this code
Code:
Private Sub Report_Open(Cancel As Integer)
If Me!Office.ItemData = "A Then
Me.OfficeAValue = True
ElseIf Office = "B Then
Me.OfficeBValue = True
End If
End Sub
If I use Me!Office with nothing after it, I get error "item has no value"
DougP, MCP, A+
I love this site and all you folks that helped me over the years!