|
[广告] VBA代码宝 - VBA编程加强工具 · VBA代码随查随用 · 内置多项VBA编程加强工具 ★ 免费下载 ★ ★ 使用手册★
原帖由 平帆 于 2009-4-11 15:17 发表
再提两个问题:
1、更新版的字段列表中现在出现了“库表”,请教是如何设置的?
2、日期无法组合,又是什么原因?
字段列表中为什么出现了“库表”,请看SQL语句
select "期初" as 库表,"2009-3-1" as 日期,手册号,材料编码,材料名称,单位,数量 as 期初数量,0 as 入库数量,0 as 出库数量,金额 as 期初金额,0 as 入库金额,0 as 出库金额 from [期初$] union all select "入库" as 库表,日期,手册号,材料编码,材料名称,单位,0 as 期初数量, 数量,0 as 出库数量,0 as 期初金额, 金额,0 as 出库金额 from [入库$] union all select "出库" as 库表,日期,手册号,材料编码,材料名称,单位,0 as 期初数量,0 as 入库数量, 数量,0 as 期初金额,0 as 入库金额, 金额 from [出库$]
至于日期无法组合,我现在还解决不了。。。 |
|