快来看

wgal 2001-12-18 05:40:38
我写了select table1.depname,table2.username from table1,table2,table3
where table1.depid = table3.depid and table2.userid = table3.userid and table2.marker='a'之后
count=rs.recordcount统计出来的count不对是-1 但有记录显示
我是用rs.open sql,conn,1,1 方式打开的

而我用select * from tabel2 where marker='a'
count的值是对的
(说明一下两种select方法count结果应该是一样的)
...全文
78 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
lazywolf 2001-12-19
  • 打赏
  • 举报
回复
rs.CursorLocation=3
lanying 2001-12-18
  • 打赏
  • 举报
回复
freespider(),是对的
BrightEye 2001-12-18
  • 打赏
  • 举报
回复
gz!
freespider 2001-12-18
  • 打赏
  • 举报
回复
rs.open sql,conn,3,2

28,391

社区成员

发帖
与我相关
我的任务
社区描述
ASP即Active Server Pages,是Microsoft公司开发的服务器端脚本环境。
社区管理员
  • ASP
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧