Hi,
I have a form with a subform. On the subform a combobox is shown. It contains over 500 items. I want to offer the users to find results containing the entered letters. (Eg. when entering "for", the results "effort", "ford" and "therefore" should be shown).
So in the properties of the combobox I use this as the rowsource:
But no results are returned.
Does not return any results either...
Does anyone have a suggestion?
Thanks!
I have a form with a subform. On the subform a combobox is shown. It contains over 500 items. I want to offer the users to find results containing the entered letters. (Eg. when entering "for", the results "effort", "ford" and "therefore" should be shown).
So in the properties of the combobox I use this as the rowsource:
Code:
SELECT tblOnderwerp.*, tblOnderwerp.Onderwerp FROM tblOnderwerp WHERE (((tblOnderwerp.Onderwerp) Like "’*" & Forms!frmZoekRegistraties!subformRegistraties.Form!Onderwerp & "*’")) ORDER BY tblOnderwerp.Onderwerp;
Code:
WHERE (((tblOnderwerp.Onderwerp) Like "*" & [Forms]![frmZoekRegistraties]![subformRegistraties].[Form]![txtZoekOnderwerp]& "*"));
Does anyone have a suggestion?
Thanks!
Comment