Click here to Skip to main content
15,890,185 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
Can you let me know whats the difference between Find and Find First in VB Record Set?

what it will do
VB
recordMats.Find "ID=" & Parts(MatID)

and what it will do
VB
recordMats.FindFirst "ID=" & Parts(MatID)


What I have tried:

VB
recordMats.FindFirst "ID=" & Parts(MatID)
Posted
Updated 7-Oct-16 0:47am
v2
Comments
Patrice T 6-Oct-16 4:56am    
You don't have Google with your internet ?
[no name] 6-Oct-16 7:22am    
"what it will do", if you had just tried it and found out for yourself instead of wasting your time posting this, you would have had your answer 3 hours ago.

1 solution

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...
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900