简体   繁体   English

vb6中错误的查询结果

[英]wrong result of query in vb6

I am running a query which give me correct result from mdb and while I am running the same query with vb6 it returns one less record in the result. 我正在运行一个查询,它从mdb给我正确的结果,而当我使用vb6运行相同的查询时,它在结果中返回的记录少了一条。

Can someone tell me what is the exact problem? 有人可以告诉我确切的问题是什么吗?

my query is: 我的查询是:

select * from kot where form = 34

更多信息会有所帮助,但是您也可以先检查count (行数):

SELECT COUNT(*) AS Counter FROM kot WHERE form = 34

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM