Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to FIND or SEEK in a database?

Status
Not open for further replies.

eelsar

Technical User
May 20, 2002
36
0
0
US
Please Help!

I'm not sure how to find the records for a specific name selected from a combo box?

When I added the names to the combo box I added their primary key as an Index - so when I find it I should search for it by the index that is unique.

Does anyone know some code for how to do this?
Thank you!
eelsar
 
See thread222-347702 Let me know if this helps
________________________________________________________________
If you are worried about how to post, please check out FAQ222-2244 first

'There are 10 kinds of people in the world: those who understand binary, and those who don't.'
 
Well, a primitive way to search a text file is to :
a) Use ReadLine, to temporarily store a line into
a string variable, then
b) Use InStr(), to search that variable for the desired
substring,
c) Repeat for each string.

It sounds slow and boring, but that's what computers are
good at.
 
eelsar,

Have these answers helped, or do you need to explain the question further?

You appear to have asked 17 questions in this forum, most of which have been answered, but you haven't marked any of them as useful. If you need more help, just clarify the question, or tell us why the answers given don't help.

If in doubt about usage, read the FAQ referred below Let me know if this helps
________________________________________________________________
If you are worried about how to post, please check out FAQ222-2244 first

'There are 10 kinds of people in the world: those who understand binary, and those who don't.'
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top