Hi,
I'm trying print % symbol in text constant but I have some problems..
This is my C/AL code:
IF CONFIRM(TextConstant) THEN BEGIN
...
END;
And this is the TextConstant value:Do you want to record the invoice with 21% VAT?
But, when the message is showing in the screen,
I can see this text:
Do you want to record the invoice with 21 VAT?
Evidently, the problem is the percentaje symbol because NAV used to works with variables... then, how can I print this character in confirm message?
I was read this post
http://dynamicsuser.net/forums/p/10716/54112.aspx but not help me...
Thanks in advance for our help
Comments
make your textconstant : "Do you want to record the invoice with 21%1 VAT?"
then
Thanks for your help but, the solution you proposed is not valid...
I checked the code and is valid (works with other characters) but not with % symbol...
Any idea?
Thanks!
Ch :='%'; // Ch is Char in Data type