Hi,
How can i print decimal amount in words. I have tried using report 1401. However i am not sure about the parameters to pass in the function 'FormatNoText' ,Especially the first parameter ' VAR NoText : ARRAY [2] OF Text[80] ' .
Anybody please explain this.
Thanks in advance.
Shibily
0
Comments
DescriptionLine is a global variable, of type Text80, with 2 dimensions (= array).
The other parameters are clear I suppose.
DescriptionLine[1] will contain the first 80 characters of the generated text, while DescriptionLine[2] will contain the other 80 chars.
Thanks for the reply.
I tried with the same function. When i call the function what the function expects as the first parameter(DescriptionLine)?
Thanks
Shibily
You can view also the properties for this variable, and then you'll see that it has 2 dimensions.
FormatNoText(DescriptionLine,CheckLedgEntry.Amount,BankAcc2."Currency Code");
The first parameter of the above function does not expect anything but is a type of variable which will contains the return value of the function. You can display its value in section as DescriptionLine[1] and DescriptionLine[2].
Regards,
Rakesh
viewtopic.php?f=23&t=14441
http://www.BiloBeauty.com
http://www.autismspeaks.org
I used the following steps
DescriptionLine[1] := Text021; // Text021=VOIDVOIDVOID
DescriptionLine[2] := DescriptionLine[1];
FormatNoText(DescriptionLine,556,amnt); // amnt := Currency.Code (selected USD)
MESSAGE(DescriptionLine[1]);
Message i got displayed is " **** HUNDRED AND ZERO ONLY " . I am getting the same output for any amount i pass in the function.
Please give any suggestions
Thanks
Shibily
http://ssdynamics.co.in
Currently i am checking by using a new screen by passing the parametrs hard coded .
I used the functions ' FormatNoText ' and ' AddToNoText ' from the report 1401.
Thanks
Shibily
I still cant find any solution for this issue.
Shibily
In reference to shibily's post, I am too getting the only message as " **** HUNDRED AND ZERO ONLY " and I am unable to resolve it.
Could some tell me, how It can be resolved.
Many Thanks.
Bangalore
CheckReport.InitTextVariable;
CheckReport is of Type "Report" and subtype "Check".
Bangalore