-- 作者:JoyGum
-- 发布时间:2023/11/28 14:26:00
-- [求助]交叉统计表列值为0
Dim g As New CrossTableBuilder("Temp1", DataTables("GWarehouse")) g.HGroups.AddDef("DealerName") g.HGroups.AddDef("ProductsName") g.HGroups.AddDef("WorkNo") g.VGroups.AddDef("MainName") g.Totals.AddDef("DebitQuantity", "入库数量") g.Totals.AddDef("CreditQuantity", "出库数量") g.Totals.AddDef("BalanceQuantity", "库存数量") g.VerticalTotal = True g.Decimals = 2 g.Build()
请教老师若是库存数量为0,删除此行(之前都用手动筛选处理),代码怎么处理.
|