标题:如何做一下函数替换循环
取消只看楼主
分号
Rank: 1
等 级:新手上路
帖 子:154
专家分:0
注 册:2006-12-4
得分:0 
有的。

数值替换不过来。
2017-10-30 20:52
分号
Rank: 1
等 级:新手上路
帖 子:154
专家分:0
注 册:2006-12-4
得分:0 
2017-10-30 20:53
分号
Rank: 1
等 级:新手上路
帖 子:154
专家分:0
注 册:2006-12-4
得分:0 
程序代码:
USE jf

repl ywkmjf with ICASE(ALLTRIM(类别)=="加强",21,ALLTRIM(类别)=="奥赛",21,ALLTRIM(类别)=="英才",5,1)-ywjfmc FOR !Empty(ywkmjf) AND RECNO()<=44
repl sxkmjf with ICASE(ALLTRIM(类别)=="加强",21,ALLTRIM(类别)=="奥赛",21,ALLTRIM(类别)=="英才",5,1)-sxjfmc FOR !Empty(ywkmjf) AND RECNO()<=44
repl yykmjf with ICASE(ALLTRIM(类别)=="加强",21,ALLTRIM(类别)=="奥赛",21,ALLTRIM(类别)=="英才",5,1)-yyjfmc FOR !Empty(ywkmjf) AND RECNO()<=44
repl wlkmjf with ICASE(ALLTRIM(类别)=="加强",21,ALLTRIM(类别)=="奥赛",21,ALLTRIM(类别)=="英才",5,1)-wljfmc FOR !Empty(ywkmjf) AND RECNO()<=44
repl hxkmjf with ICASE(ALLTRIM(类别)=="加强",21,ALLTRIM(类别)=="奥赛",21,ALLTRIM(类别)=="英才",5,1)-hxjfmc FOR !Empty(ywkmjf) AND RECNO()<=44
repl swkmjf with ICASE(ALLTRIM(类别)=="加强",21,ALLTRIM(类别)=="奥赛",21,ALLTRIM(类别)=="英才",5,1)-swjfmc FOR !Empty(ywkmjf) AND RECNO()<=44
repl zzkmjf with ICASE(ALLTRIM(类别)=="加强",21,ALLTRIM(类别)=="奥赛",21,ALLTRIM(类别)=="英才",5,1)-zzjfmc FOR !Empty(ywkmjf) AND RECNO()<=44
repl lskmjf with ICASE(ALLTRIM(类别)=="加强",21,ALLTRIM(类别)=="奥赛",21,ALLTRIM(类别)=="英才",5,1)-lsjfmc FOR !Empty(ywkmjf) AND RECNO()<=44
repl dlkmjf with ICASE(ALLTRIM(类别)=="加强",21,ALLTRIM(类别)=="奥赛",21,ALLTRIM(类别)=="英才",5,1)-dljfmc FOR !Empty(ywkmjf) AND RECNO()<=44
repl zfkmjf with ICASE(ALLTRIM(类别)=="加强",21,ALLTRIM(类别)=="奥赛",21,ALLTRIM(类别)=="英才",5,1)-zfjfmc FOR !Empty(ywkmjf) AND RECNO()<=44


太感谢了!
2017-10-31 06:33



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-481891-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.020900 second(s), 9 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved