做个按钮,代码为:
Dim g As New GroupTableBuilder("统计表1", DataTables("表A"))g.Groups.AddDef("产品名称")g.Totals.AddDef("进货数量")g.Build()MainTable = Tables("统计表1")
建议好好看看:
http://www.foxtable.com/help/topics/0677.htm