Forum Discussion
RLS - Help needed to a newbie
- 3 years ago
gazzo1967 So why not just:
[Office] = "Sheldon Fire Station - Blue"
Then just add the watch commander and crew commanders only to that role.
Greg_Deckler
Thank you for replying 🙂
I did that and all it shows me is the two job titles but i need those two roles to be able to see the jobtitle Firefighter Sheldon too.
Basically if the Watch Commander or the Crew Commander login they should be able to see everyone who has the 'office' Sheldon Fire Station - Blue
But doing this only shows those 2 roles.
Sorry if i am coming across a little slow 😞
Gary
Greg_Deckler
Sorry will try explain a little more clearly.
If the user logs in and has the [Jobtitle] of either Watch Commander A Sheldon or Crew Commander Sheldon then they need to see all rows with the [Office] = Sheldon Fire Station - Blue.
Can this be done with an IF statement?
- gazzo19673 years ago
Helper III
OK i got this far 🙂
if([JobTitle] = "Watch Commander B Sheldon" ||[JobTitle] = "Crew Commander Sheldon",TRUE(), [Office]="Sheldon Fire Station - Blue" )
This returns the following
JobTitle Office Watch Commander B Sheldon Sheldon Fire Station - White Crew Commander Sheldon Sheldon Fire Station - Red Crew Commander Sheldon Sheldon Fire Station - Red Watch Commander B Sheldon Sheldon Fire Station - Red Crew Commander Sheldon Sheldon Fire Station - Green Watch Commander B Sheldon Sheldon Fire Station - Green Crew Commander Sheldon Sheldon Fire Station - Blue Crew Commander Sheldon Sheldon Fire Station - Blue Firefighter Sheldon Sheldon Fire Station - Blue Firefighter Sheldon Sheldon Fire Station - Blue Firefighter Sheldon Sheldon Fire Station - Blue Firefighter Sheldon Sheldon Fire Station - Blue Firefighter Sheldon Sheldon Fire Station - Blue Watch Commander B Sheldon Sheldon Fire Station - Blue All I need to do is exclude the entries that are not [Office]Sheldon Fire Station - Blue
Again thanks for the help 🙂- Greg_Deckler3 years ago
Community Champion
gazzo1967 So why not just:
[Office] = "Sheldon Fire Station - Blue"
Then just add the watch commander and crew commanders only to that role.