有关站内模糊查询的源程序!

2018-09-06 12:06

阅读:552

  if bh= then
sql=select * from sl where bh like %ss%
else
bh=clng(bh)
sql=select * from sl where bh= bh
end if
then
sql=sql and nam like %nam%
end if
then
sql=sql and jz like %jz%
end if
then
pc=cint(pc)
sql=sql and pc=pc
end if
then
sql=sql and zw like %zw%
end if


评论


亲,登录后才可以留言!