Iif

HOJU15

Registered User.
Local time
Today, 00:35
Joined
Feb 7, 2003
Messages
12
((IIf(IsNull([forms].[SEARCH]![SECTION]),[Located in].[SECTION]=’*’ ,[located in].[SECTION]=[forms].[SEARCH]![SECTION]))<>False)

I need the true part of the statement to all return all records null and those with a value, what I have there is not workin
 
IIf(IsNull([forms]![SEARCH]![SECTION]),"[Located in].[SECTION]=’*’" ,"[located in].[SECTION]=[forms]![SEARCH]![SECTION]")


try this one
 
You cannot change the structure of a query in this way. Change the selection criteris to:

=[forms].[SEARCH]![SECTION] Or IsNull([forms].[SEARCH]![SECTION])
 

Users who are viewing this thread

Back
Top Bottom