Hello all,
Is there a way to use the "like" statement in a WHERE clause but the like you are referencing is a field on a form? Example: Under the criteria of a query: Like "Forms!frmEmailListByCompany!CompanyCombo*". The bosses want to be able to choose a company from a list and print all emails associated with that company. The problem is some company are listed as like Company International, Company textiles, Company blah, etc. So they want to be able to select company and have all associated companie's contact's emails print. Is there another way besides the like statement? It doesn't like it when I reference a field on a form with like (yes is it open). I am lost. Thank you for any help.
Greg
Is there a way to use the "like" statement in a WHERE clause but the like you are referencing is a field on a form? Example: Under the criteria of a query: Like "Forms!frmEmailListByCompany!CompanyCombo*". The bosses want to be able to choose a company from a list and print all emails associated with that company. The problem is some company are listed as like Company International, Company textiles, Company blah, etc. So they want to be able to select company and have all associated companie's contact's emails print. Is there another way besides the like statement? It doesn't like it when I reference a field on a form with like (yes is it open). I am lost. Thank you for any help.
Greg