in addition to the answer DMan1 supplied, I would also suggest trying to understand more about SQL/MS Access queries (SELECT commands) as if you have more understanding, you can implement better solutions.
Currently as suggested by DMan1, it will only specifically find that record if the field matches the textbox text EXACTLY.
If you wanted to do a "similar" match then you would normally do this:
"SELECT * FROM theTable WHERE theField LIKE '%" & Me.theTextBox.Text & "%'"
would bring back the similar matches to the value given from the textbox
It would help to be more specific and to even post the code you are having problems with...to select the record from the db use a command object and sql....
"Select * From TheTable Where TheField =" & Textbox1.Text
Now that is the simplest means to get what your after...but the best practice is to use a command parameter so that you prevent injection attacks on your Db
I need Help, database
jwellsntr
in addition to the answer DMan1 supplied, I would also suggest trying to understand more about SQL/MS Access queries (SELECT commands) as if you have more understanding, you can implement better solutions.
Currently as suggested by DMan1, it will only specifically find that record if the field matches the textbox text EXACTLY.
If you wanted to do a "similar" match then you would normally do this:
"SELECT * FROM theTable WHERE theField LIKE '%" & Me.theTextBox.Text & "%'"
would bring back the similar matches to the value given from the textbox
BradV2
It would help to be more specific and to even post the code you are having problems with...to select the record from the db use a command object and sql....
"Select * From TheTable Where TheField =" & Textbox1.Text
Now that is the simplest means to get what your after...but the best practice is to use a command parameter so that you prevent injection attacks on your Db