Hi, my name is Robbie and I was hoping someone could help me with some VBA programming on Access. I would like to have a search form where I can enter data in a box and click a search button to search all of my queries to find any like terms. Here are the specifics:
I have a couple of tables each with the field "company, date, question, and answer". In each table, the company and the date are the same, as the question and answer are all different. Forexample in Table "Walmart", every cell in the column company says "Walmart", every date in that table is "6/7/2010" and the questions and answers are different.
These all feed into a union select all query.
What I would like is a form that has the ability to look up any terms from the question and answer data I have in the query. I would like a box where you can type either information in and click a search button where the results of any questions or answers that have those words in them to show up below, along with the company and date. Therefore, if there is a data row with company "Walmart", date "6/7/2010", Question "How many jackets are there" and Answer "There are four jackets", and I search jackets, this row of data would show, along with any other questions or answers where the word like jackets shows up.
Also, if it is possible, I would like to be able to check a box next to a response that would send it to a report so that if I liked the results, i could check a box, send it to a report, then search another question/answer and if i found another data set, i liked, i could check the box on that one and send it to a report as well. Ideally, all of the data that i selected would go neatly into a report.
I appreciate any help I get on this as I am have some VBA code for the search button but it is not working correctly and I have no idea how to do the report idea. Please help. Thank you.