Rss & SiteMap
Foxtable(狐表) http://www.foxtable.com
Dim dst As WinForm.DataList = e.Form.Controls("DataList1")
dst.GrandTotal(AggregateEnum.Sum,"总计", "数量", "金额")
Dim t As Table = Tables("窗口3_Table1")
Dim g As SubtotalGroup
t.SubtotalGroups.Clear()
t.GroupAboveData = False
t.TreeVisible = False
g = New SubtotalGroup
g.Aggregate = AggregateEnum.Sum
g.GroupOn = "*"
g.TotalOn = "数量,金额"
g.Caption = "总计"
t.SubtotalGroups.Add(g)
t.Subtotal()
还可以将表的汇总模式全用来
Dim t As Table = Tables("窗口3_Table1")
Dim g As SubtotalGroup
t.SubtotalGroups.Clear()
t.GroupAboveData = False
t.TreeVisible = False
g = New SubtotalGroup
g.Aggregate = AggregateEnum.Sum
g.GroupOn = "产品"
g.TotalOn = "数量,金额"
g.Caption = "{0} 小计"
t.SubtotalGroups.Add(g)
g = New SubtotalGroup
g.Aggregate = AggregateEnum.Sum
g.GroupOn = "*"
g.TotalOn = "数量,金额"
g.Caption = "总计"
t.SubtotalGroups.Add(g)
t.Subtotal()
还可以将表的汇总模式全用来
Dim t As Table = Tables("窗口3_Table1")
Dim g As SubtotalGroup
t.SubtotalGroups.Clear()
t.GroupAboveData = False
t.TreeVisible = False
g = New SubtotalGroup
g.Aggregate = AggregateEnum.Sum
g.GroupOn = "产品"
g.TotalOn = "数量,金额"
g.Caption = "{0} 小计"
t.SubtotalGroups.Add(g)
g = New SubtotalGroup
g.Aggregate = AggregateEnum.Sum
g.GroupOn = "*"
g.TotalOn = "数量,金额"
g.Caption = "总计"
t.SubtotalGroups.Add(g)
t.Subtotal()
退出汇总的代码呢?以前我用的是统计表的模式
退出代码已会.
没错啊,我用("目录树_table1")和("table1")都试了都不行.
还有我用Tables("窗口1_Table1").DataSource = DataTables("订单")这个代码切换表,隐藏列会在副本显示?有没有办法解决.