S
Sue Compelling
Hi
I have the following two IIF statements which give the right results when
used separately but I need to join them together so Access is assessing all
conditions. I've tried multiple ways though come back with varied errors -
from syntax, commas, too many arguments etc ...
Is there actually a way I can join these?
=IIf([JobSubStatus]="Awaiting Appointment Advice" And
DCount([JobID],"QryInProgress","[JobID] = " &
[JobID])=1,Now()-[datereceived],[JobStatusDate]-[datereceived])
=IIf(IsNull([JobSubStatus]),Now()-[datereceived],IIf([jobsubstatus]="Awaiting
Customer" Or "Appointment
Scheduled",[jobstatusdate]-[datereceived],[JobStatusDate]-[dateappt]))
TIA ...
I have the following two IIF statements which give the right results when
used separately but I need to join them together so Access is assessing all
conditions. I've tried multiple ways though come back with varied errors -
from syntax, commas, too many arguments etc ...
Is there actually a way I can join these?
=IIf([JobSubStatus]="Awaiting Appointment Advice" And
DCount([JobID],"QryInProgress","[JobID] = " &
[JobID])=1,Now()-[datereceived],[JobStatusDate]-[datereceived])
=IIf(IsNull([JobSubStatus]),Now()-[datereceived],IIf([jobsubstatus]="Awaiting
Customer" Or "Appointment
Scheduled",[jobstatusdate]-[datereceived],[JobStatusDate]-[dateappt]))
TIA ...