大众信息网

在vfp中用find 查询出生年月,如1984.08.18 如何操作 不要用seek

答案:2  mip版
解决时间 2021-01-16 23:24
  • 提问者网友:青春统帅
  • 2021-01-15 23:24
在vfp中用find 查询出生年月,如1984.08.18 如何操作 不要用seek
最佳答案
  • 二级知识专家网友:這傷,你給的
  • 2021-01-16 00:04
find为老版本中的命令新版本中使用seek命令兼容包含
全部回答
  • 1楼网友:管好你的嘴
  • 2021-01-16 01:01

这个问题已有答案

如果是3个表的话,用sql语句更简单一些,你可以试一试下面的代码。

create table t1(xh c(8))
create table t2(xh c(8))
create table t3(xh c(8))


select t1
for i=1 to 50000
  append blank
  replace xh with alltrim(str(i))
endfor

select t2
for i=20000 to 50000
  append blank
  replace xh with alltrim(str(i))
endfor

select t3
for i=15000 to 40000
  append blank
  replace xh with alltrim(str(i))
endfor

select t1.xh from t1,t2,t3 where t1.xh=t2.xh and t1.xh=t3.xh

我要举报
如以上问答内容为低俗/色情/暴力/不良/侵权的信息,可以点下面链接进行举报,我们会做出相应处理,感谢你的支持!
点此我要举报以上问答信息
推荐资讯