请教:FOXPRO命令~解决人员编号问题

[复制链接]
查看11 | 回复0 | 2007-12-4 09:13:08 | 显示全部楼层 |阅读模式
Use renyuan(suppose renyuan is empty at the beginning. there are no records in it)for i=1 to 50appendreplace rybh with ireplace bmbh with "11"endforfor j=51 to 100appendreplace rybh with jreplace bmbh with "12"endforfor l=101 to 150appendreplace rybh with lreplace bmbh with "13"endforWhen you run the code above with a empty renyuan.dbf, you get a dbf you want.You can allocate every person a "rybh", and locate for that number and alter the data in the renyuan.dbf in the software.Sorry, I can't type any Chinese Character in my computer today.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行