G
Guest
I have an unbound control named: DateResolvedStepB with a control source:
=DateDiff("d",[IncidentDate],nz([DateResolvedStepB],Now())) previously
provided to me by John Vinson. It works fine until I get records that do not
have data entered in the field DateResolvedStepB because the dispute was
resolved at an earlier step than Step B. If such an occurrence happens I want
the value for this control to be 0 because I have a prior control that will
give me the result for that question. However, if there still has not been a
resolution at Step B I want the control to:
=DateDiff("d",[IncidentDate],nz([DateResolvedStepB],Now())).
1. Is there a solution using the DateDiff function? If so, please help.
2. If not, where would I put code to give me 0 and what would the code be?
Thanks for the help.
=DateDiff("d",[IncidentDate],nz([DateResolvedStepB],Now())) previously
provided to me by John Vinson. It works fine until I get records that do not
have data entered in the field DateResolvedStepB because the dispute was
resolved at an earlier step than Step B. If such an occurrence happens I want
the value for this control to be 0 because I have a prior control that will
give me the result for that question. However, if there still has not been a
resolution at Step B I want the control to:
=DateDiff("d",[IncidentDate],nz([DateResolvedStepB],Now())).
1. Is there a solution using the DateDiff function? If so, please help.
2. If not, where would I put code to give me 0 and what would the code be?
Thanks for the help.