G
Guest
I'm attempting to use the LIKE operator with a combo box entry. I want the
user to be able to choose a value from the domain and return all rows that
have that value as the leading character(s) in the selected column. The query
goes like this: SELECT collist FROM tablist WHERE joinlist GROUP BY collist
HAVING tr.treat_cd LIKE "[forms]![frmSwitchboard].[cboSelTreatment]*".
The query returns no values. If I substitute a value for the form entry, the
query returns the correct set. Am I allowed to use the LIKE operator in this
manner? Thank you in advance.
user to be able to choose a value from the domain and return all rows that
have that value as the leading character(s) in the selected column. The query
goes like this: SELECT collist FROM tablist WHERE joinlist GROUP BY collist
HAVING tr.treat_cd LIKE "[forms]![frmSwitchboard].[cboSelTreatment]*".
The query returns no values. If I substitute a value for the form entry, the
query returns the correct set. Am I allowed to use the LIKE operator in this
manner? Thank you in advance.