In my forms I have a 5 pages in my form hidden. I want to show form "admins" only if a field in Access is filed with the right name. The field I am trying to look at is Dept2, How would I replace SenderName to check the Dept2 field?

'Hide 5th page if Dept2 field is blank
Set MyInspector = Item.GetInspector
If Item.SenderName = "" then
MyInspector.HideFormPage("Admins Approval")
MyInspector.ShowFormpage("Admins Approval")
End if