S
shanej
the following query is supposed to give me all non-null if "Published",
or all null if "Unpublished, or both if anything else. It only works
for Published. I tried each of the pieces seperalty and they work fine,
but not together in nested IIFs. Here is the query broken down for ease
or reading:
Like (IIf([forms].[F_Opinion_View].[OPpub]="Published",
"*/*/*",
(IIf([forms].[F_Opinion_View].[OPpub]="Unpublished",
([our_opinions].[OP_published]) Is Null,
(([our_opinions].[OP_published]) Like "*/*/*" Or
([our_opinions].[OP_published]) Is Null)))))
FYI: the field is a date field.
any ideas?
or all null if "Unpublished, or both if anything else. It only works
for Published. I tried each of the pieces seperalty and they work fine,
but not together in nested IIFs. Here is the query broken down for ease
or reading:
Like (IIf([forms].[F_Opinion_View].[OPpub]="Published",
"*/*/*",
(IIf([forms].[F_Opinion_View].[OPpub]="Unpublished",
([our_opinions].[OP_published]) Is Null,
(([our_opinions].[OP_published]) Like "*/*/*" Or
([our_opinions].[OP_published]) Is Null)))))
FYI: the field is a date field.
any ideas?