以文本方式查看主题

-  Foxtable(狐表)  (http://www.foxtable.com/bbs/index.asp)
--  专家坐堂  (http://www.foxtable.com/bbs/list.asp?boardid=2)
----  如何终止运算  (http://www.foxtable.com/bbs/dispbbs.asp?boardid=2&id=183673)

--  作者:lihe60
--  发布时间:2022/11/12 10:58:00
--  如何终止运算
select e.datacol.name
case "数量"
e.datarow("金额”)=e.datarow("数量”)*e.datarow("单价”)
case "单价"
e.datarow("金额”)=e.datarow("数量”)*e.datarow("单价”)
case "金额"
e.datarow("单价”)=e.datarow("金额”)/e.datarow("数量”)

如果只改变金额,只运算e.datarow("单价”)=e.datarow("金额”)/e.datarow("数量”),不运算e.datarow("金额”)=e.datarow("数量”)*e.datarow("单价”)。代码怎么改

--  作者:有点蓝
--  发布时间:2022/11/12 11:01:00
--  
http://www.foxtable.com/webhelp/topics/2218.htm

SystemReady = False
e.datarow("单价”)=e.datarow("金额”)/e.datarow("数量”)
SystemReady = 
True