on 08-01-2007 4:58 AM
hi
i am printing a lable code
its a encrypted format
i need a code to suppress the blank line3 based on conditon if it is blank.
so id line 3 is blank it should not diplay the blank line. that is my requirment.
pls suggest
regards
Arora
This can be done in paragraph format..
goto the paragraph format applied for that line, in standard attibutes, tick "No blank lines".
Regards,
Sairam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi canot do in paragraph format
as its a lable script and encrypted format ...
STX><ESC>F0<DEL>&TO_ADRS-LINE0&<ETX>
STX><ESC>F1<DEL>&TO_ADRS-LINE1&<ETX>
STX><ESC>F2<DEL>&TO_ADRS-LINE2&<ETX>
STX><ESC>F3<DEL>&TO_ADRS-LINE3&<ETX>
STX><ESC>F4<DEL>&TO_ADRS-LINE4&<ETX>
STX><ESC>F6<DEL>&TO_ADRS-LINE5&<ETX>
here address line 3 is blank so just want to put if condiont with code
for addres line3 if blank then suppress it....
regards
Arora
Try like this it will work
IF TO_ADRS-LINE0 NE ' '
STX><ESC>F0<DEL>&TO_ADRS-LINE0&<ETX>
ENDIF.
IF TO_ADRS-LINE1 NE ' '
STX><ESC>F1<DEL>&TO_ADRS-LINE1&<ETX>
ENDIF.
IF TO_ADRS-LINE2 NE ' '
STX><ESC>F2<DEL>&TO_ADRS-LINE2&<ETX>
ENDIF.
IF TO_ADRS-LINE3 NE ' '
STX><ESC>F3<DEL>&TO_ADRS-LINE3&<ETX>
ENDIF.
IF TO_ADRS-LINE4 NE ' '
STX><ESC>F4<DEL>&TO_ADRS-LINE4&<ETX>
ENDIF.
IF TO_ADRS-LINE6 NE ' '
STX><ESC>F6<DEL>&TO_ADRS-LINE5&<ETX>
ENDIF.
Regards,
SaiRam
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.