M
mac
Hi
Can someone tell me why the True part does not return any records but
the False part does in the following query:
Like
IIf([Forms]![SelectReports]![ExcludePLT].[Value]=True,([Forms]![SelectReports]![DocTypeCombo]
& "*" And <>".plt"),[Forms]![SelectReports]![DocTypeCombo] & "*")
It is definitely a syntax error because if I run the 2 parts queries
separately they both return the records I am after.
This works:
Like [Forms]![SelectReports]![DocTypeCombo] & "*" And <>".plt"
So does this:
Like [Forms]![SelectReports]![DocTypeCombo] & "*"
Thanks in advance
Mark
Can someone tell me why the True part does not return any records but
the False part does in the following query:
Like
IIf([Forms]![SelectReports]![ExcludePLT].[Value]=True,([Forms]![SelectReports]![DocTypeCombo]
& "*" And <>".plt"),[Forms]![SelectReports]![DocTypeCombo] & "*")
It is definitely a syntax error because if I run the 2 parts queries
separately they both return the records I am after.
This works:
Like [Forms]![SelectReports]![DocTypeCombo] & "*" And <>".plt"
So does this:
Like [Forms]![SelectReports]![DocTypeCombo] & "*"
Thanks in advance
Mark