Martano0811
Registered User.
- Local time
- Today, 06:13
- Joined
- May 14, 2012
- Messages
- 16
Hello, I'm new user in Access 2007. I attempting to build nested IIf Statements mostly on Date/Time Fields. This example is a new field or (flag comapring two data sets with same variables) I'm getting error message: "Data type Mismatch in criteria expression". Im not sure what I need to update to get this corrected. I go the first part of the IIF statement to work...its the paert where And begins...this is where I'm having trouble. Any help would be much appreciated.
I would like place an N/A in the cell where the old and new data sets have an empty value.
Here is an example:
IIf([CPC_Old].[Project released for planning Actual]=[CPC_New].[Project released for planning Actual],"No","Yes")
And IIf(IsNull([CPC_Old].[Project released for planning Actual])," ","N/A") And IIf(IsNull([CPC_New].[Project released for planning Actual])," ","N/A")
I would like place an N/A in the cell where the old and new data sets have an empty value.
Here is an example:
IIf([CPC_Old].[Project released for planning Actual]=[CPC_New].[Project released for planning Actual],"No","Yes")
And IIf(IsNull([CPC_Old].[Project released for planning Actual])," ","N/A") And IIf(IsNull([CPC_New].[Project released for planning Actual])," ","N/A")