M
mariannesooz
Guest
Hi!
I'm having a problem in the database I'm working in.
I've tried a lot of things like code and queries, but there's always something
missing or something wrong!
I need your help to find out the better way to do this:
I have a table "INFOTable" where I have some fields. One of those fields is "CompleteName". I also have a form "MainForm" where I do search by Combo Box some of the fields of "INFOTable", and it is working good! My problem is that I have a Text Box "txtCompleteName" in "MainForm" where I want users to insert one or more words(names) and then search by a button called "cmdSearch2". I want also this button to open another form called "INFOForm", bound to "INFOTable", and display the search
results from "CompleteName" based on the word in "txtCompleteName". In "INFOForm" the Text Box that display "CompleteName" records is "boxCompleteName".
For example, I have 3 records in "CompleteName": «Michael Ryan Smith», «Daniel Carlton» and «Michael Daniel Carter», and I want to search by «Daniel» and find 2 records: «Daniel Carlton» and «Michael Daniel Carter».
I hope someone could help me with this, after all we are always learning and I really want to learn how to do this!!
I would appreciate your help. Thank You!!
mariannesooz
I'm having a problem in the database I'm working in.
I've tried a lot of things like code and queries, but there's always something
missing or something wrong!
I need your help to find out the better way to do this:
I have a table "INFOTable" where I have some fields. One of those fields is "CompleteName". I also have a form "MainForm" where I do search by Combo Box some of the fields of "INFOTable", and it is working good! My problem is that I have a Text Box "txtCompleteName" in "MainForm" where I want users to insert one or more words(names) and then search by a button called "cmdSearch2". I want also this button to open another form called "INFOForm", bound to "INFOTable", and display the search
results from "CompleteName" based on the word in "txtCompleteName". In "INFOForm" the Text Box that display "CompleteName" records is "boxCompleteName".
For example, I have 3 records in "CompleteName": «Michael Ryan Smith», «Daniel Carlton» and «Michael Daniel Carter», and I want to search by «Daniel» and find 2 records: «Daniel Carlton» and «Michael Daniel Carter».
I would appreciate your help. Thank You!!
mariannesooz