태그 보관물: crystal-reports

crystal-reports

(CurrentDateTime)에서 일의 (X)를 빼고 다른 날짜로 확인하는 방법 날짜 시간의 72 시간이

현재 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;


답변