I have these strings in the calculated field, that I wish to put commas followed by spaces in between them.
I tried simply putting a plus sign to add up the fields, it works, but whenever a field is empty, I am left with the "commas" and the "spaces" showing in the results.
My question is: Shoud I be using the STUFF and SPACE function to put a comma and a space? Such comma or space should not show whenever there is nothing to use comma or space for. Is there any other way?
Here below is what I have. Probably not a good practice at all.
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Question
Elena
Hello Jan it's me again,
I have these strings in the calculated field, that I wish to put commas followed by spaces in between them.
I tried simply putting a plus sign to add up the fields, it works, but whenever a field is empty, I am left with the "commas" and the "spaces" showing in the results.
My question is: Shoud I be using the STUFF and SPACE function to put a comma and a space? Such comma or space should not show whenever there is nothing to use comma or space for. Is there any other way?
Here below is what I have. Probably not a good practice at all.
[@field:Server]+', '+[@field:Training]+', '+[@field:Telecom]+', '+[@field:Hardware]+', '+[@field:Software]
Results:
Server Technology, Education & Training , , ,
The fields Telecom, Hardware, Software are all left empty by the user. The results are showing only the commas and the spaces that I added up.
Link to comment
Share on other sites
5 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.