以下是引用jiguanqiang8在2013-2-14 15:08:52的发言:
SET ENGINEBEHAVIOR 70
select 品种,nvl(sum(罐存量),0) as 期初 from main into cursor tabchu group by 品种 where bianhao=(select max(bianhao) from main group by 罐号 where 日期<=mydate1)
加了SET ENGINEBEHAVIOR 70,但运行后还是出现如下情况:
上传数据表,最后要达到的效果图
SET ENGINEBEHAVIOR 70
select 品种,nvl(sum(罐存量),0) as 期初 from main into cursor tabchu group by 品种 where bianhao=(select max(bianhao) from main group by 罐号 where 日期<=mydate1)
加了SET ENGINEBEHAVIOR 70,但运行后还是出现如下情况:
坚守VFP最后的阵地