Hi all!
I want to know, is it possible to convert decimal value wich is equal to zero to the specified symbol, for example '--', using FORMAT, CONVERTSTR or something else? I know that it can be easy achived by code, using text variable, but I'm trying to place it on the report control SourceExpr.
Thanks in advance.
Oleg Dovgalenko
0
Comments
Use that function in the sourceexpression giving it the value.
In the function, you put:
IF IdecValue = 0 THEN
EXIT('xx');
EXIT(FORMAT(......));
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
Thanks, kriki!
It's the more suitable way, because total amount of 'coded symbols' will be the smallest (considering that I have a lot of such controls on the report). I'll use this way. But I want to know, just to understanding, does NAV allow to provide this kind of replacement using standard functions? I played a little bit with format, convertstr, etc., but found nothing.
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
I mean that in the sourcecontrol-property will not be the: where but kind of:
if it's possible. but looking at the FORMAT help topic, it seems impossible.
Indeed, the FORMAT does not support this kind of things. You need to create a function to format it.
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!