KevinSlater
Registered User.
- Local time
- Today, 10:14
- Joined
- Aug 5, 2005
- Messages
- 249
Hi, i have the below code in a field in a query
PD1ACTFORVAL: IIf([ACTUALS_TO_PD]>=1,[PD1ACTVAL],IIF([FORECAST_1_INC_BASE]=TRUE,[FORECAST_1_BASE_VALUE]+[FORECAST_1_PROMO_VALUE]),[FORECAST_1_PROMO_QTY])
but a message says:"the expression you entered has the wrong number of arguments" .....Any ideas what im doing wrong?
(if forecast_1_inc_base is false id like just the last part of code to be done...ie FORECAST_1_PROMO_QTY)
Any help would be great, cheers
PD1ACTFORVAL: IIf([ACTUALS_TO_PD]>=1,[PD1ACTVAL],IIF([FORECAST_1_INC_BASE]=TRUE,[FORECAST_1_BASE_VALUE]+[FORECAST_1_PROMO_VALUE]),[FORECAST_1_PROMO_QTY])
but a message says:"the expression you entered has the wrong number of arguments" .....Any ideas what im doing wrong?
(if forecast_1_inc_base is false id like just the last part of code to be done...ie FORECAST_1_PROMO_QTY)
Any help would be great, cheers