Hi,
I have trouble in comparing the two different data types.
Suppose I created a database for student essay topics.
I have one form called SearchForm to retrieve the data from a table called MainTable. This table includes Id(index), Date, Student_Name, Topic1, OtherTopic, etc. I also have another table called TopicTable only including Id and Topic field.
All data of the Topic1 field in MainTable is selected from the TopicTable (like, select one from the combobox list of topictable), while OtherTopic is input by the users, and it is not in the TopicTable.
In my searchform, I have a "Input Topic:"textbox which can search both topic fields (Topic1 and OtherTopic) from MainTable. Instead of creating one combo box and one textbox (one compare with Topic1, and the other campare with OtherTopic)
is there anyway to create just one textbox, which can compare with Topic1 and OtherTopic fields in the Maintable? The datatype in Topic1 is number (that is, Id from TopicTable). I appreciate your help.
I have trouble in comparing the two different data types.
Suppose I created a database for student essay topics.
I have one form called SearchForm to retrieve the data from a table called MainTable. This table includes Id(index), Date, Student_Name, Topic1, OtherTopic, etc. I also have another table called TopicTable only including Id and Topic field.
All data of the Topic1 field in MainTable is selected from the TopicTable (like, select one from the combobox list of topictable), while OtherTopic is input by the users, and it is not in the TopicTable.
In my searchform, I have a "Input Topic:"textbox which can search both topic fields (Topic1 and OtherTopic) from MainTable. Instead of creating one combo box and one textbox (one compare with Topic1, and the other campare with OtherTopic)
is there anyway to create just one textbox, which can compare with Topic1 and OtherTopic fields in the Maintable? The datatype in Topic1 is number (that is, Id from TopicTable). I appreciate your help.