| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 497 人关注过本帖
标题:adodc控件的recordsource怎样调用两次
只看楼主 加入收藏
木吉他ll
Rank: 1
等 级:新手上路
帖 子:8
专家分:0
注 册:2013-4-24
结帖率:0
收藏
已结贴  问题点数:10 回复次数:1 
adodc控件的recordsource怎样调用两次
Adodc_Material.RecordSource = "select * from 灵敏度表 where 温度>='" & T0 & "' and 温度<='" & T1 & "'"
If Not Adodc_Material.Recordset.EOF Or Not Adodc_Material.Recordset.BOF Then
Adodc_Material.Recordset.Delete
Adodc_Material.Recordset.Update
End If
Adodc_Material.RecordSource = "select * from 灵敏度表 where 材料名称='" & Name & "' order by 灵敏度表.温度 asc"
Adodc_Material.Refresh
就能运行,但是不是第二次调用recordsource产生的记录集?应该怎样改?
搜索更多相关主题的帖子: 灵敏度 where 
2013-05-21 21:57
zyjhb
Rank: 2
等 级:论坛游民
帖 子:6
专家分:30
注 册:2013-5-24
收藏
得分:10 
第一次查询没打开少了refresh
2013-05-24 16:35
快速回复:adodc控件的recordsource怎样调用两次
数据加载中...
 
   



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

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