Hi Experts,
Is there any ways to use ASCII codes in C/SIDE Code language?
For example, In Report i am getting output as "HS0001, HS0002, HS0003" in a single variable. I want to put ASCII Code of "Enter" instead of ','.
I mean my output should be like
HS0001
HS0002
HS0003
instead of HS0001,HS0002,HS0003.
Is that possible to do so? IF any alternate solution is for this?
0
Comments
If you want to put it on seperate lines on a report I guess you will have to split the variable into as many texts as you want to and use an integer dataelement for output.
Example:
Anyway that's how I would do it
Best regards
John
Simply create text box, make it MultiLine enabled and set SourceExpr to 'First Line Text\Second Line Text'
It all depends on what you have to do.
With your solution the text will always take up the same space on the report regardless of how many texts should be split and put out - maybe that's ok - we don't know from the question.
My solution takes up one line per text so if it should be split up in 4 there will be 4 lines - if it's just one it will take up one line on the report.
If you know that you will receive 3 textbits (or a maximum that fits in your textbox) your solution is much easier
br.
John
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!