Hello everyone! I've been going crazy trying to figure out this problem. Okay so here it goes: I have an ASP page that has a simple search function that searches a field in a table in my database. Here is the SQL statement in that ASP file:
SQL = "SELECT * FROM products INNER JOIN product_properties ON products.product_id = product_properties.product_id WHERE products.main_category LIKE '%" & Keyword & "%'"
At first, my problem was that the data was not being pulled from these two tables. But since I used the INNER JOIN, it now pulls it out and that's not a problem anymore. The real problem is that my search function isn't working. When I search, I only get like 4 records even though there are really 25 records for the search keyword "Stapler." If anyone can see what I'm doing wrong, I would really appreciate it if you can point it out. If you need more information, ask me to post it. Thanks