Hi Folks,
BUilding a little reporting application. Having trouble with a (totals)query that gets its criteria from a form. I can't get the Like "*" working in the If-then-else-statement in the criteria-field of the query builder. It returns nothing instead of all the records. Any ideas?
Pampers![[afro] [afro] [afro]](/data/assets/smilies/afro.gif)
Keeping it simple can be complicated
BUilding a little reporting application. Having trouble with a (totals)query that gets its criteria from a form. I can't get the Like "*" working in the If-then-else-statement in the criteria-field of the query builder. It returns nothing instead of all the records. Any ideas?
Code:
IIf([Forms]![frmOmzetRapportageMain]![Zoekcode]="Alle",Like "*","horeca")
Pampers
![[afro] [afro] [afro]](/data/assets/smilies/afro.gif)
Keeping it simple can be complicated