回复 8楼 sdta
CLOSE DATABASES ALL
SET SAFETY OFF
SET DEFAULT TO F:\项目\新建文件夹
select *,0.0 标记 from rgf2 into cursor test readwrite
cnxh=""
SCAN
IF ALLTRIM(序号)="小计"
cnxh=0
REPLACE 标记 with cnxh
ELSE
IF INLIST(ALLTRIM(工序名称),"","劈抚","松土")
cnxh = cnxh + 0.1
replace 标记 WITH cnxh
ELSE
cnxh = cnxh + 1
replace 标记 WITH cnxh
ENDIF
endscan
ENDIF
ENDSCAN
这样运行完怎么全是加0.1的
,我是想让序号连续起来
图片附件: 游客没有浏览图片的权限,请
登录 或
注册
[此贴子已经被作者于2018-9-17 22:31编辑过]