YoelKuliasko
8 years agoQrew Cadet
Extract first names from List-user field.
A bit of a mystery to me:
The List-user field is called [Activity - Advisor]. From that field, I want to extract the first names.
When I make the formula as:
List(", ",
Left(Part(ToText(UserListToNames([Activity - Advisor])),1,";")," "),
Part(ToText(UserListToNames([Activity - Advisor])),2,";")
)
it behaves as expected, and extracts John, Jane Doo from the list-user field with values John Smith, Jane Doo.
However, when I make the formula the way I want it to, i.e.:
List(", ",
Left(Part(ToText(UserListToNames([Activity - Advisor])),1,";")," "),
Left(Part(ToText(UserListToNames([Activity - Advisor])),2,";")," ")
)
it only extracts John from above mentioned field, so QB seems to not look further for the second name; although I only added the "Left" function compared to the first formula.
What did I overlook?
Thanks!
The List-user field is called [Activity - Advisor]. From that field, I want to extract the first names.
When I make the formula as:
List(", ",
Left(Part(ToText(UserListToNames([Activity - Advisor])),1,";")," "),
Part(ToText(UserListToNames([Activity - Advisor])),2,";")
)
it behaves as expected, and extracts John, Jane Doo from the list-user field with values John Smith, Jane Doo.
However, when I make the formula the way I want it to, i.e.:
List(", ",
Left(Part(ToText(UserListToNames([Activity - Advisor])),1,";")," "),
Left(Part(ToText(UserListToNames([Activity - Advisor])),2,";")," ")
)
it only extracts John from above mentioned field, so QB seems to not look further for the second name; although I only added the "Left" function compared to the first formula.
What did I overlook?
Thanks!