Hello Accessforum
I' have made a "split-form", and i have there a "listbox" with few entrys. With a button I should start searching the for selcted entry in my database.
I used the Macro "ApplyFilter" here to, like on the other buttons in my Form.
But the difference to the other buttons is, this new button should search in multiple columns. But I have no Idea how to write the correct condition.
Summary:
My problem is, can I specify more than one column for searching the entry in the Listbox with "ApplyFilter"?
My code that always worked with one column:
[Hauptverantwortlicher] Like "*" & [Forms]![MasterQuery]!
[ListVerantwortlichkeit] & "*"
I have tried to specify more than one column with the "or". But it doesn't work.:
[Hauptverantwortlicher] Or [Stellvertretung] Like "*" & [Forms]![MasterQuery]!
[ListVerantwortlichkeit] & "*"
Can someone help me?