I want to filter a form with a query, so that the user has to input what he would like to search in a textbox and it gets filtered out. There are some empty fields, and these should show if the user has not searched for anything yet, but if he searches those should not be shown anymore.
With this code, the searching works, but it shows the empty fields:
Like("*" & [Forms].[BerichtSuche].[efTitle] & "*") OR Is Null
I tried this, but then nothing at all is shown:
If(Len([Forms].[BerichtSuche].[efTitle].[Text])=0;
Like("*" & [Forms].[BerichtSuche].[efTitle] & "*") OR Is Null;
Like("*" & [Forms].[BerichtSuche].[efTitle] & "*"))