Hi
I have a table with fields names such as Company, products, etc.
I need help on how to make search engine to retrieve records in my products
column.
I was planning to make an unbound text box with a command button beside it.
The user enters the keyword in the text box and the command button opens a
query or table which lists all records containing the keyword.
I tried to make one using a query with a criteria parameter referring to my unbound text box
like:
Field: Products
Table: Companies
Sort:
Show:
Criteria: [Form]![Search Form]![Unbound TxtBox Name]
This works fine as long as you know the exact record entry in the table but doesn't return
anything if the word entered lacks even just one character.
I tried using Like operator with an asterisk at the start and end using the parameter above but it doesnt work.
MLT
I have a table with fields names such as Company, products, etc.
I need help on how to make search engine to retrieve records in my products
column.
I was planning to make an unbound text box with a command button beside it.
The user enters the keyword in the text box and the command button opens a
query or table which lists all records containing the keyword.
I tried to make one using a query with a criteria parameter referring to my unbound text box
like:
Field: Products
Table: Companies
Sort:
Show:
Criteria: [Form]![Search Form]![Unbound TxtBox Name]
This works fine as long as you know the exact record entry in the table but doesn't return
anything if the word entered lacks even just one character.
I tried using Like operator with an asterisk at the start and end using the parameter above but it doesnt work.
MLT