本文介绍了如何在水晶报表中减去的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使用vb.net和MS Access在Crystalreport i m中减去字段
我的sellinprice字段包含10个价格,buyingprice字段包含10个价格,我想分别添加它们并减去它
售价buyprice
300200
600500
---- ----
900700
900
700
-----
利润= 200

如何做到这一点,我确实对显示总计的两个字段进行了汇总,但是如何减去这些总计
我确实喜欢这个公式编辑器
但显示错误
sum({Products.Sellingprice}-{Products.Buyingprice})


如果您知道

how to subtract to field in crystalreport i m using vb.net and ms access
i have sellinprice field contain 10 price and buyingprice field contain 10 price i want add those separately and subtract it like
selling price buyingprice
300 200
600 500
---- ----
900 700
900
700
-----
profit=200

how to do this i did summarise for both field showing total but how to subtract those totals
i did like this formula editor
but it shows error
sum({Products.Sellingprice}-{Products.Buyingprice})


kindly help if you know

推荐答案

sum({Products.Sellingprice})-sum({Products.Buyingprice})


这篇关于如何在水晶报表中减去的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-09 19:04