G
Guest
If the following conditions can exist for the control LastDayAppealStepB. If
these conditions exist there should be no date value in the control
LastDayAppealStepB if there is a value in the control StepADecisionDate:
1. Disposition= ResolvedInformalStepA and CurrentStatus=Resolved
2. Disposition= ResolvedStepA and CurrentStatus=Resolved
3. Disposition= WithdrawnStepA and CurrentStatus=Resolved
I've tried the following expression which I want to give me a date for the
control LastDayAppealStepB except when the 3 conditions above exist:
=IIf(IsNull([StepADecisionDate]),0,DateAdd("d",+7,[StepADecisionDate]))
returns the value 12:00:00 AM when the control StepADecisionDate is null.
Otherwise
the value for the control LastDayAppealStepB is correct.
I've tried the expression:
=IIf(IsNull([StepADecisionDate]),0,DateAdd("d",+7,[StepADecisionDate],nz([LastDayAppealStepB],[StepADecisionDate]))). I got an
error message that this expression contains the wrong number of arguments.
It is obivious that ",nz([LastDayAppealStepB],[StepADecisionDate])" is
causing the problem. I've tried everything I know to get it to work. So can
someone break
down this expression into segments and explain what each segment is trying
to do.
Thanks for the help.
these conditions exist there should be no date value in the control
LastDayAppealStepB if there is a value in the control StepADecisionDate:
1. Disposition= ResolvedInformalStepA and CurrentStatus=Resolved
2. Disposition= ResolvedStepA and CurrentStatus=Resolved
3. Disposition= WithdrawnStepA and CurrentStatus=Resolved
I've tried the following expression which I want to give me a date for the
control LastDayAppealStepB except when the 3 conditions above exist:
=IIf(IsNull([StepADecisionDate]),0,DateAdd("d",+7,[StepADecisionDate]))
returns the value 12:00:00 AM when the control StepADecisionDate is null.
Otherwise
the value for the control LastDayAppealStepB is correct.
I've tried the expression:
=IIf(IsNull([StepADecisionDate]),0,DateAdd("d",+7,[StepADecisionDate],nz([LastDayAppealStepB],[StepADecisionDate]))). I got an
error message that this expression contains the wrong number of arguments.
It is obivious that ",nz([LastDayAppealStepB],[StepADecisionDate])" is
causing the problem. I've tried everything I know to get it to work. So can
someone break
down this expression into segments and explain what each segment is trying
to do.
Thanks for the help.