Dim bd1 As New GroupTableBuilder("统计1",DataTables("出库表"))
Dim dt1 As fxDataSource
bd1.Groups.AddDef("零件号")
bd1.Totals.AddDef("出库数量","出库数量")
dt1 = bd1.BuildDataSource()
Dim bd2 As New GroupTableBuilder("统计2",DataTables("结算"))
Dim dt2 As fxDataSource
bd2.Groups.AddDef("零件号")
bd2.Totals.AddDef("结算数量","结算数量")
dt2 = bd2.BuildDataSource()
dt1.Combine("零件号",dt2,"零件号")
Tables("结算_Table10").DataSource = dt1
With DataTables("结算报表")
.DataRows.Clear() '清除所有行
End With
.NET Framework 版本:2.0.50727.8937
Foxtable 版本:2018.10.9.1
错误所在事件:窗口,结算,Button11,Click
详细错误信息:
值对于无符号的字节太大或太小。不能在 出库数量 列中存储 <144948>。所需类型是 Byte。
请老师帮忙看一下