可以直接用compute函数
http://www.foxtable.com/help/topics/0393.htm
http://www.foxtable.com/help/topics/1647.htm
http://www.foxtable.com/help/topics/1454.htm