H
Harris
Can anyone help?!
I am having difficulty with a wildcard query.
IIf([Forms]![WorstCritAcrossHosp]![ServicesReport]=1,[Forms]![WorstCritAcrossHosp]![SelectServiceElement],
Like "*")
The IIF statement checks to see if a certain option box on a form is
selected (1), and if so, uses the value in a drop down box called
SelectServiceElement. This drop down box value can be from 1 to 50. If
the option box is not selected, all the values from 1-50 should come
up in the query. I have tried like '', like *, >1, but nothing seems
to work. If I replace Like "*" with say, 7, then the query functions
correctly. Anyone know what the problem is?
Thanks
Harris
IIf([Forms]![WorstCritAcrossHosp]![ServicesReport]=1,[Forms]![WorstCritAcrossHosp]![SelectServiceElement],
Like "*")
I am having difficulty with a wildcard query.
IIf([Forms]![WorstCritAcrossHosp]![ServicesReport]=1,[Forms]![WorstCritAcrossHosp]![SelectServiceElement],
Like "*")
The IIF statement checks to see if a certain option box on a form is
selected (1), and if so, uses the value in a drop down box called
SelectServiceElement. This drop down box value can be from 1 to 50. If
the option box is not selected, all the values from 1-50 should come
up in the query. I have tried like '', like *, >1, but nothing seems
to work. If I replace Like "*" with say, 7, then the query functions
correctly. Anyone know what the problem is?
Thanks
Harris
IIf([Forms]![WorstCritAcrossHosp]![ServicesReport]=1,[Forms]![WorstCritAcrossHosp]![SelectServiceElement],
Like "*")