현재 Crystal Reports XI로 작업하고 있으며 현재 날짜 시간의 72 시간이 지나는 배송 날짜를 강조하는 수식을 만들려고합니다. 해당 기능을 수행하는 수식을 작성하는 방법은 무엇입니까?
내 추측은 될 것이지만 어떻게 해야할지 모르겠다.
{TableName.ShipDate} <= CurrentDatetime - 72 Hours
then crYellow
답변
IF {Table.ShipDate} <= CurrentDateTime
then crRed
ELSE
IF ({Table.ShipDate} - 3) <= CurrentDateTime
then crYellow
ELSE
crNoColor;