|
-
Apr 4th, 2000, 03:25 PM
#1
Thread Starter
Junior Member
can somebody help I've using the method find(ADO), at the moment users have to type in the correct string, if possible I want users to just type in the first few letters for example Joe Bloggs Enterprise, if users type in joe it will find find, below is my current code if anyone can help let me know.
<CODE>
frmCompany.Show
frmCompany.rsmaster.MoveFirst
lastposition = Trim(InputBox("Enter Company for search."))
criteria = "COMP_NAME = '" & lastposition & "'"
frmCompany.rsmaster.Find criteria
Regards
Daryl
-
Apr 6th, 2000, 08:11 PM
#2
Addicted Member
Use: criteria = "COMP_NAME Like '" & lastposition & "%'"
Good Luck!!!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|