Dim b As New sqlGroupTableBuilder("统计表1","表A")b.Groups.AddDef("周龄")b.Totals.AddExp("累计","iif(天数 mod 7 = 0,数量,0)")Tables("窗口1_table1").DataSource = b.BuildDataSource