I have an access data base we use to create reminder letters for our dr's patients. The patients appts are imported into access, a query ran on the data and report is used to make the actual letter. I want to add a custom txt box or label for one of the dr's but want to do it based on the dr's name. Here is the code i have:
If (Me.RESC_NAME = "Dr name taken out for security purpose") Then
Me.txtTurner.Pr operties.Visibl e = True
Else
Me.txtTurner.Pr operties.Visibl e = False
End If
if I just do me. to see what options i get, the txtTurner is not in the list but other text boxes and labels are. Any ideas?
If (Me.RESC_NAME = "Dr name taken out for security purpose") Then
Me.txtTurner.Pr operties.Visibl e = True
Else
Me.txtTurner.Pr operties.Visibl e = False
End If
if I just do me. to see what options i get, the txtTurner is not in the list but other text boxes and labels are. Any ideas?
Comment