| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 581 人关注过本帖
标题:为什么在执行 &sele1时出错呢?
取消只看楼主 加入收藏
dragonmanyu2
Rank: 2
等 级:论坛游民
帖 子:36
专家分:12
注 册:2013-2-13
结帖率:33.33%
收藏
已结贴  问题点数:5 回复次数:0 
为什么在执行 &sele1时出错呢?
我做了个统计人数的表单
用到 luru\jp\hz\zj 四个表,如下代码,在 &sele1时出错?

sele1=IIF(thisform.check1.Value=1 ," select COUNT(sfzh) as 66 from luru " , "" )
sele1=IIF(thisform.check2.Value=1 ,IIF(!EMPTY(sele1),sele1+" union select COUNT(sfzh) as 66 from jp "," select COUNT(sfzh) as 66 from jp ") , sele1 )
sele1=IIF(thisform.check3.Value=1 ,IIF(!EMPTY(sele1),sele1+" union select COUNT(sfzh) as 66 from zj "," select COUNT(sfzh) as 66 from zj ") , sele1)
sele1=IIF(thisform.check4.Value=1 ,IIF(!EMPTY(sele1),sele1+" union select COUNT(sfzh) as 66 from hz "," select COUNT(sfzh) as 66 from hz ") , sele1)
sele1=IIF(!EMPTY(sele1),sele1+" into curso dfd","")

&sele1×××××××××××这句出错
搜索更多相关主题的帖子: 表单 
2013-03-18 15:28
快速回复:为什么在执行 &sele1时出错呢?
数据加载中...
 
   



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

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