want to print multiple line in footer section of generated design
add a new control text in footer & make its autodeclaration yes
in execute section of footer:
while select sum(taxamount) from taxtrans group by taxtype_in where taxtrans.Voucher == _voucher
{
taxtotal = Taxtrans.TaxAmount;
taxname.text(enum2str(Taxtrans.TaxType_IN));
if(Taxtrans.TaxAmount)
super();
}
add a new control text in footer & make its autodeclaration yes
in execute section of footer:
while select sum(taxamount) from taxtrans group by taxtype_in where taxtrans.Voucher == _voucher
{
taxtotal = Taxtrans.TaxAmount;
taxname.text(enum2str(Taxtrans.TaxType_IN));
if(Taxtrans.TaxAmount)
super();
}
No comments:
Post a Comment