on 04-23-2009 2:33 PM
Hi,
i have one box in script in that im displaying cash receipt which contains amount in words with under line then im giving one blank line then by cash/check as shown in below..
Output coming like this :
* the sum of &LV_AMT_WORDS&----
-
here providing one blank space....then
* by Cash/Check No:<U> -
</>Date<U> -
</>Drawn on
<U> -
</>
Now in my case requires like this:
* the sum of &LV_AMT_WORDS&----
need one line space
-
amount in words
here providing one blank space....then
* by Cash/Check No:<U> -
</>Date<U> -
</>Drawn on
<U> -
</>
in my case if amount in words is coming more char automatically it is coming in next line..but i need to provide blank line specified above.
cheers,
Dileep Reddy.
Hi,
keep condition like
if length > 100.
&words&
blank line.
Else.
&words&
endif.
blank line.
Thanks,
suma.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Write a Subroutine for converting amount into words. In corresponding program call FM SPELL_AMOUNT to convert amount into words. Pass the words string into one variable and calculate its length and store the length in one variable. Then come again into script window and code is as follows:
If &Var& > 100 "Say lenthr is 100 characters where var is to store lenght from program
&AMOUNT_WORDS&
*
else
&AMOUNT_WORDS&
endif.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.