Hello, I am working on an Access 2007 database and I am having issues on a multiple record form, getting a text box control (titled: IOPCount) to be hidden unless a combo box control (titled: Request_Type) indicates the value "OBS/SUP".
I located a rather fantastic post on this site (here) but when I use this code and I change the Request_Type control of 1 record it hides or unhides the IOPCount control of ALL records. here is the code I used from the above link:
My question is: "How do I get this code to only hide the IOPCount control of the record it is associated with?"
I located a rather fantastic post on this site (here) but when I use this code and I change the Request_Type control of 1 record it hides or unhides the IOPCount control of ALL records. here is the code I used from the above link:
Code:
Private Sub Request_Type_AfterUpdate() If Request_Type = "OBS/SUP" Then IOPCount.Visible = True 'Set text box to visible Else IOPCount.Visible = False 'Hide the text box End If End Sub
Comment