VB记录集中查找和查找的区别 [英] Difference between find and find first in VB record set

查看:107
本文介绍了VB记录集中查找和查找的区别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你能告诉我VB记录集中Find和Find First之间的区别吗?



它会做什么

< pre lang =vb> recordMats.Find ID =&零件(MatID)



及它将做什么

 recordMats.FindFirst   ID =&零件(MatID)





我的尝试:



 recordMats.FindFirst   ID =&零件(MatID)

解决方案

它们是不同的功能,因此参数等结果可能会有所不同。 :-O



FindFirst 找到满足标准的第一个记录。多么奇怪!!!

查找有不同的参数来微调搜索。



使用Google ...


Can you let me know whats the difference between Find and Find First in VB Record Set?

what it will do

recordMats.Find "ID=" & Parts(MatID)


and what it will do

recordMats.FindFirst "ID=" & Parts(MatID)



What I have tried:

recordMats.FindFirst "ID=" & Parts(MatID)

解决方案

They are different functions, so the parameters and so the result may vary. :-O

FindFirst find the first record which fullfils the criterias. What wonder!!!
Find has different parameters to finetune the search.

Use Google...


这篇关于VB记录集中查找和查找的区别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆