大
大大懒虫
Unregistered / Unconfirmed
GUEST, unregistred user!
计算字段如果在表中刷新时会进行触发.而我的计算字段是变量来计算其累计值的,
看下有什么好的办法 .
源程序如下Query_PaixinFRation是计算字段,N_XSJE是总额, N_Ftemp是我用来累加的.
//计算销售比率
if N_XSJE<>0 then
Query_PaixinFRation.Value := N_Ftemp + ((Query_Paixinxsje.Value / N_XSJE) * 100);
N_fTemp := Query_PaixinFRation.Value;
看下有什么好的办法 .
源程序如下Query_PaixinFRation是计算字段,N_XSJE是总额, N_Ftemp是我用来累加的.
//计算销售比率
if N_XSJE<>0 then
Query_PaixinFRation.Value := N_Ftemp + ((Query_Paixinxsje.Value / N_XSJE) * 100);
N_fTemp := Query_PaixinFRation.Value;