Forum Discussion
QuickBaseCoachD
6 years agoQrew Captain
The problem is that there was an extra comma at the end
if(
[Work Type]="RD-Reactive",([Date Complete WO Received]+Days(5)),
[Work Type]="PJ-Planned Job",([Date Complete WO Received]+Days(12)),
[Work Type]="RP-Reactive Project",([Date Complete WO Received]+Days(10))
)
but this also can be simplified to
Case([Work Type],
"RD-Reactive", [Date Complete WO Received]+Days(5),
"PJ-Planned Job", [Date Complete WO Received]+Days(12),
"RP-Reactive Project",[Date Complete WO Received]+Days(10))
if(
[Work Type]="RD-Reactive",([Date Complete WO Received]+Days(5)),
[Work Type]="PJ-Planned Job",([Date Complete WO Received]+Days(12)),
[Work Type]="RP-Reactive Project",([Date Complete WO Received]+Days(10))
)
but this also can be simplified to
Case([Work Type],
"RD-Reactive", [Date Complete WO Received]+Days(5),
"PJ-Planned Job", [Date Complete WO Received]+Days(12),
"RP-Reactive Project",[Date Complete WO Received]+Days(10))