G
Guest
Ok, here we go. I have a form named 1_GlobalVariables that I use to hold
query filters. In my queries, I put these globalvariable filters into the
criteria to filter the results. The column in the query is named [Product
Manager]. The following is in the criteria statement:
IIf([Forms]![1_GlobalVariables]![Product Mgr Filter] Is Null,[Product
Manager],[Forms]![1_GlobalVariables]![Product Mgr Filter])
This statement works fine.
1) If the [Product Mgr Filter] has been set to something, then the query
works.
2) If the [Product Mgr Filter] is not set to something, then the query works.
3) If the [Product Mgr Filter] is not set to something and [Product
Manager] is null, the query does not work.
I know that the problem is that I need to add an "or is null", but I do not
know how!
I have tried the following and they do not work...
IIf([Forms]![1_GlobalVariables]![Product Mgr Filter] Is Null,iif([Product
Manager] is null,"Is Null",[Product
Manager]),[Forms]![1_GlobalVariables]![Product Mgr Filter])
query filters. In my queries, I put these globalvariable filters into the
criteria to filter the results. The column in the query is named [Product
Manager]. The following is in the criteria statement:
IIf([Forms]![1_GlobalVariables]![Product Mgr Filter] Is Null,[Product
Manager],[Forms]![1_GlobalVariables]![Product Mgr Filter])
This statement works fine.
1) If the [Product Mgr Filter] has been set to something, then the query
works.
2) If the [Product Mgr Filter] is not set to something, then the query works.
3) If the [Product Mgr Filter] is not set to something and [Product
Manager] is null, the query does not work.
I know that the problem is that I need to add an "or is null", but I do not
know how!
I have tried the following and they do not work...
IIf([Forms]![1_GlobalVariables]![Product Mgr Filter] Is Null,iif([Product
Manager] is null,"Is Null",[Product
Manager]),[Forms]![1_GlobalVariables]![Product Mgr Filter])