我在水晶报表里面为了计算每页的数量我做了下面的公式
在页眉里面放了一个UnboundNumber3 公式是:
global numberVar aa;
whileprintingrecords;
aa := 0;
在详细资料里面放了一个UnboundNumber4 公式是:
global numberVar aa;
whileprintingrecords;
aa := aa + {r_crmSalesInvoice_Proforma_RMB_Line_Print.Inv_Qty}
在页脚里面放了一个UnboundNumber5 公式是:
global numberVar aa;
whileprintingrecords;
aa