Martano0811
Registered User.
- Local time
- Today, 04:41
- Joined
- May 14, 2012
- Messages
- 16
Sorry of this is elementary to everyone but I can't seem to get this statement to generate N/A if both fields from the tables are Null. Here is the Criteria I wrote:
IIf(IsNull([CPC_Old].[Project released for planning Actual]) & IsNull([CPC_New].[Project released for planning Actual]),"","N/A") & IIf([CPC_Old].[Project released for planning Actual]=[CPC_New].[Project released for planning Actual],"No","Yes")
The output Im getting is Yes if they both fields match, No is they are different...this is working...but it appears that if both fields are null then it defaults to Yes.
Any help here?
IIf(IsNull([CPC_Old].[Project released for planning Actual]) & IsNull([CPC_New].[Project released for planning Actual]),"","N/A") & IIf([CPC_Old].[Project released for planning Actual]=[CPC_New].[Project released for planning Actual],"No","Yes")
The output Im getting is Yes if they both fields match, No is they are different...this is working...but it appears that if both fields are null then it defaults to Yes.
Any help here?