Hello All
I need to be able to hide some buttons based on what is in a field. No problem there, However this form was modified and the field (Approver_4)may or may not contain a Username, it may also contain group names.
I want to be able to hide the buttons to all except 1)the person named in the field
2) the group name in the field(Roles)
Here is what I have so far.
I can get it to show if the group is in the field and the right Role is assigned to a group, but if there is a name in the field I cannot get the button to show only to that person.
@TextToNumber(MaximumApprovers) < 5 | StatusRev != "Complete" | StatusD != "Drafting Complete"|
(@IsNotMember("[AE1]"; @UserRoles) & @Contains(approver_4 ; "Assembly-Engine")) :
(@IsNotMember("[AR1]"; @UserRoles) & @Contains(approver_4 ; "Assembly-Rotor")) :
(@IsNotMember("[FC1]"; @UserRoles) & @Contains(approver_4 ; "Forming-Components-1")) :
(@IsNotMember("[FC2]"; @UserRoles) & @Contains(approver_4 ; "Forming-Components-2")) :
(@IsNotMember("[FC3]"; @UserRoles) & @Contains(approver_4 ; "Forming-Combustion")) :
(@IsNotMember("[FD1]"; @UserRoles) & @Contains(approver_4 ; "Forming-Details-1")) :
(@IsNotMember("[FD2]"; @UserRoles) & @Contains(approver_4 ; "Forming-Diaphragms-2")) :
(@IsNotMember("[FB1]"; @UserRoles) & @Contains(approver_4 ; "Forming-Blades&Vanes")) &
(approver_4 != CurrentAuthor)
| AppStat_4 = "Approval Completed"
TIA
James

Help with Complicated hidewhen (James E Wood 15.Apr.03)
. . 