Henley12
Troy University Fan
- Local time
- Today, 02:39
- Joined
- Oct 10, 2007
- Messages
- 222
I have a report that has two department fields. Depending on what is in an EquipID field, the appropriate department field needs to be visible. My code for the OnFormat of the detail section is as follows:
If EquipID = "misc" Then
Department.Visible = True
Dept.Visible = False
Else
Dept.Visible = True
Department.Visible = False
End If
This is not working. Whichever field I have on top is the only one that shows up. I have done this in another report the same way, but it doesn't seem to be working now. Any ideas?
If EquipID = "misc" Then
Department.Visible = True
Dept.Visible = False
Else
Dept.Visible = True
Department.Visible = False
End If
This is not working. Whichever field I have on top is the only one that shows up. I have done this in another report the same way, but it doesn't seem to be working now. Any ideas?