fmchong
3rd April 2009, 04:45
Hi,
I want to display "√" sign in my worktop customization 4GL report.
Please help.

Thank you.

george7a
3rd April 2009, 09:21
Hi and welcome to the forum :)

Have you tried to put the ASCII value of the tick in the asc() function (http://www.baanboard.com/programmers_manual_baanerp_help_functions_ascii_conversion_asc)?

- George

fmchong
6th April 2009, 06:02
Hi George,
Thanks for ur reply. The tick sign is Unicode(Hex) and i can't find the ASCII value for tick sign.

Do u have any idea on it :p

george7a
6th April 2009, 08:35
Hi,

Check this link:
http://www.baanboard.com/baanboard/showthread.php?t=41136

I hope it helps,

- George

fmchong
14th April 2009, 10:22
This is my script as per below:-
declaration:
extern domain tcmcs.str1 mark

before.layout:
mark =chr$(251)

but it appear this symbol character û instead of √

:o

NirajKakodkar
14th April 2009, 11:11
251 is the ascii code for "û" .
Tick Mark is not an ASCII character .

You may either use some other character or try to use image instead .

Regards,
Niraj

fmchong
15th April 2009, 06:09
you mean that tick mark definately cannot show in 4GL report using script?

Regards,
FM Chong

george7a
15th April 2009, 13:48
251 is the ascii code for "û" .
Tick Mark is not an ASCII character .

Check this ASCII table:
http://www.asciitable.com/

You can see that the ASCII of the tick sign is 251. However, I have tried to add it in a report using the chr$ function and failed. I am trying other things right now.

A workaround is to add an image of the tick sign in the report. There are many threads of this issue in the Forum.

- George