这个用菜单也行,用代码也行:
Dim g As New GroupTableBuilder("统计表1", DataTables("表A"))g.Groups.AddDef("车间")g.Totals.AddDef("姓名", AggregateEnum.Count, "人数")g.Totals.AddDef("夜班补贴")g.Build()MainTable = Tables("统计表1")