主题:求教:计算后想把计算的百分数也显示出来?
各位老师:我通过计算后,算出了得数,但我想把sf的数和应乘的百分数也显现出来,如何做呢?
thisform.sf.value=thisform.sr.value-thisform.zc.value
n=thisform.sf.value*IIF(thisform.sf.value>10000.and.thisform.sf.value<30001,0.85,0.8)
thisform.gr.Value=IIF(n>20000,20000,n)
thisform.cz.value=thisform.sf.value*IIF(thisform.sf.value>10000.and.thisform.sf.value<30001,0.15,0.2)
thisform.ye.value=IIF(n>20000,n-thisform.gr.Value,0)
sf和百分数能在表和报表里显示,如sf乘以应乘的百分数。谢谢老师
thisform.sf.value=thisform.sr.value-thisform.zc.value
n=thisform.sf.value*IIF(thisform.sf.value>10000.and.thisform.sf.value<30001,0.85,0.8)
thisform.gr.Value=IIF(n>20000,20000,n)
thisform.cz.value=thisform.sf.value*IIF(thisform.sf.value>10000.and.thisform.sf.value<30001,0.15,0.2)
thisform.ye.value=IIF(n>20000,n-thisform.gr.Value,0)
sf和百分数能在表和报表里显示,如sf乘以应乘的百分数。谢谢老师