用专业报表做
http://www.foxtable.com/help/topics/1195.htm
http://www.foxtable.com/help/topics/1219.htm
http://www.foxtable.com/help/topics/1166.htm