I have a very simple select query:
SELECT tblMaster.[Utility Company], tblMaster.[Contact First Name], tblMaster.[Contact Last Name], tblMaster.[Office Phone], tblMaster.[Cell Phone], tblMaster.Fax, tblMaster.Email, tblMaster.[Company Web Page], tblMaster.Comments
FROM tblMaster
WHERE (((tblMaster.[Utility Company])=[Please Enter Utility Company Name]));
The problem is that, the user needs to key in the "Utility Company" the exact same way as it is stored in the table for the query to return any results.
Is it possible to use a combo box with the query, that way the user can select the "Utility Company" information they want to see? Or is there a way for me to update the SQL so the if the User just types in "Progress" but the the full name of the company is "Progress Energy" it will still return the information?
Thank you
SELECT tblMaster.[Utility Company], tblMaster.[Contact First Name], tblMaster.[Contact Last Name], tblMaster.[Office Phone], tblMaster.[Cell Phone], tblMaster.Fax, tblMaster.Email, tblMaster.[Company Web Page], tblMaster.Comments
FROM tblMaster
WHERE (((tblMaster.[Utility Company])=[Please Enter Utility Company Name]));
The problem is that, the user needs to key in the "Utility Company" the exact same way as it is stored in the table for the query to return any results.
Is it possible to use a combo box with the query, that way the user can select the "Utility Company" information they want to see? Or is there a way for me to update the SQL so the if the User just types in "Progress" but the the full name of the company is "Progress Energy" it will still return the information?
Thank you