条件表达式中的数据类型不匹配 [英] Data type mismatch in criteria expression
本文介绍了条件表达式中的数据类型不匹配的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
您好,
我知道其他人在这里有同样的问题,我尝试过(很多!)不同的解决方案但仍然无法解决问题..:s
这里是代码:
Hello,
I know others have the same problem here, I tried (a lot! ) different solutions but still can''t get around the problem.. :s
Here''s the code:
展开 | 选择 | Wrap | 行号
推荐答案
hI
可能这是解决方案(您的查询只是一个文字字符串)引号分隔符会导致变量/控制值作为查询字符串的一部分返回。 br />
hI
May be this is the solution (your query is just a literal string) the quotation marks delimiters cause the variable/control values to be returned as part of the query string.
展开 | 选择 | 换行 | 行号
所以,
当我放双引号时,它仍然没有改变一件事。
但是当我添加 .ToNumber到cb_xx.Column(0)
它现在说:需要对象。
我不知道这意味着什么,所以你可以再次帮助我:)
但我也会试着看看我的身边..
So,
when I put double quotes, it still doesn''t change a thing.
But when I add " .ToNumber " to cb_xx.Column(0)
It now says : "Object required".
I don''t know what it means, so you can help me again :)
But I''ll try also to look on my side..
@ezechiel
@ezechiel
展开 | 选择 | Wrap | 行号
这篇关于条件表达式中的数据类型不匹配的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文