using own formats ?

Hello! defining own formats like FORMAT(VARIABLE,0,’<Decimals,3><1000Character,.>’) is clear. But is it also possible to use a once defined format for following fields in a report/codeunit etc. ? I mean to write every time the whole syntax is not so comfortable.

Hi Ufuk

quote:


Originally posted by Ufuk Altinkaynak
… But is it also possible to use a once defined format for following fields in a report/codeunit etc. ? …


try something like this:


....
_OwnFormat:= '<Sign><Integer><1000Character,.>';
i:=1234567;
MESSAGE(FORMAT(i,0,_OwnFormat));
...

Andre

Hi Andre, such a simple :wink: soultion, thanks it works great. Don’t know why i did not found the soulution myself.