如何获取字段值 如何将不重复的字段值加到combo控件中,如果是字段值是null,则不增加。比较字段A中有值a,b,c,a,b,d,e,f,Null,e,我现在只想将a,b,c,d,e,f增加到combo中,请高手帮忙 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 strSQL="select distinct A from mytable where A is null"set rst=conn.execute(strSQL)然后循环填你的控件 select distinct companyname from Customers where companyname is not null------------------select distinct 字段A from 表名 where 字段A is not null rs.open "select distinct field from table where field is not null",……do while not rs.eof combo1.additem rs.field(0) rs.movenextloop 不只一个字段,怎么利用一个过程把它增加到不到的combo中, rs.open "select distinct field from table where field is not null",……do while not rs.eof combo1.additem rs.field(0) rs.movenextloop rs.open "select distinct field from table where field is not null",……do while not rs.eof combo1.additem rs.fields(0) rs.movenextloop webbrowser怎么访问js文件? 将数据库中表中的数据导入到excel中去~ 怎么让LISTVIEW的ScrollBar一直出现? daisy8675(莫依)进来 用神龙DVD解压卡播放DVD,怎样切换原声/伴唱?播VCD已经实现了。做过VOD的朋友请进来! *****关于处理错误的问题***** 怎样修改本机IP地址 分数如何来的?如何知道自己有多少分? VB6做的程序在另的机子上安装后报告“activx部件不能创建对象” 关于一个压缩和解压的DLL 谁能来帮帮我,我快被弄疯了!! 菜鸟别看!!!
set rst=conn.execute(strSQL)
然后循环填你的控件
select distinct 字段A from 表名 where 字段A is not null
do while not rs.eof
combo1.additem rs.field(0)
rs.movenext
loop
do while not rs.eof
combo1.additem rs.field(0)
rs.movenext
loop
do while not rs.eof
combo1.additem rs.fields(0)
rs.movenext
loop