ACCESS中类似存储过程的问题?
表ProductStat: ...,ProductNo,ProductStorage,RecodeDate...
表ProductLog: ....ProductNo,ProductNumber ,ProductDate...
-----问题:
从表ProductStat中,查询 where RecodeDate-1 的 ProductStorage 数据 as AAA,
从表ProductLog中, 查询 where ProductDate = RecodeDate 的 ProductNumber 数据 as BBB,然后 AAA + BBB = CCC , 最后再把 CCC 存入 表 ProductStat where RecodeDate 的 ProductStorage 中!
-----Access 是没有存储过程的,但是看了一些资料,上述 的问题 应该 能在 access 中解决,有高人的话 请赐教!