‎2008 Jun 16 7:16 AM
Hello Friends,
Please check this code:
PA <C6>Ship To :</>
PA &WA_GRKOR-StoN1&
PA &WA_GRKOR-StoN2&
PA &WA_GRKOR-StoN3&
PA &WA_GRKOR-StoN4&
PA
PA <C6>Note :</>&WA_GRKOR-shipto_attn1+0(40)&
PA &WA_GRKOR-shipto_attn2+0(40)&
Here, I am displaying 'ship to' address and 'Note', whenever there is no data available in the table it is printing blank line and remaining address is printing in next line.
Eg:
Shreekant SR,
Brigade. Road,
Behind Brigde towers,
Bangalore-560 001
Note: Please collect your shipment etc..
My requirement is, I don't want to print the blank line, and I want to keep the position of 'Note' same..., I know if we remove that blank line, then the Note will go up one line. I do not want to distrub the position of the Note:
Please help me how to achieve this.
Thanks,
Shreekant
‎2008 Jun 16 7:23 AM
hi Shrrekant,
Keep the program variables between Address and EndAddress.
Ex:
/: Address
......
;....
/: EndAddress.
Rgds.,
subash
‎2008 Jun 16 7:23 AM
hi Shrrekant,
Keep the program variables between Address and EndAddress.
Ex:
/: Address
......
;....
/: EndAddress.
Rgds.,
subash
‎2008 Jun 16 7:26 AM
‎2008 Jun 16 7:28 AM
hi,
u can acheive this by setting condition..
go with if condition
if data available (ie) check with the field u r printing
print address
else
print note
Regards,
priya
‎2008 Jun 16 7:29 AM
Hi,
Go To paragraph Formats. For Paragraph PA just tick the check box 'No Blank Line'.
I hope this helps,
Regards
Raju Chitale