@For question

I have the column in the view with the following formula:

@For(n := 1; n <= @Elements(ManagersLeft); n := n + 1;

@If(@Contains(ManagersLeft[n]; “Approved”:“Rejected”: “for DATA CENTER EOD Reporting ONLY”:“consider”);

@ReplaceSubstring(ManagersLeft; ManagersLeft[n]; “”); ManagersLeft[n]))

But it displays “1” - no names…

Can someone help?

Subject: @For question

The answer is this:

@For(n := 1; n <= @Elements(ManagersLeft); n := n + 1;

temp := @If(@Contains(ManagersLeft[n]; “Approved”:“Rejected”: “for DATA CENTER EOD Reporting ONLY”:“consider”);

@ReplaceSubstring(ManagersLeft; ManagersLeft[n]; “”); ManagersLeft[n]));

temp

Subject: RE: @For question

If your code loops for 4times, temp will contain the last one in the loop. Is that’s what you want?

Subject: RE: @For question

No, I need all names…