I am running V8.0 against SQL SERVER 2000.
I am using the following formula to determine what quarter a case was referred.
IF {SERVICE_REQUEST.received_date} IN CALENDAR1STQTR THEN 1 ELSE
IF {SERVICE_REQUEST.received_date} IN CALENDAR2NDQTR THEN 2 ELSE
IF {SERVICE_REQUEST.received_date} IN CALENDAR3RDQTR THEN 3 ELSE
IF {SERVICE_REQUEST.received_date} IN CALENDAR4THQTR THEN 4 ELSE 0
{SERVICE_REQUEST.received_date} is of type Datetime (8).
The formula always returns 0 ( the default condition).
Do I need to convert this date before referring to it in the compare.
I am using the following formula to determine what quarter a case was referred.
IF {SERVICE_REQUEST.received_date} IN CALENDAR1STQTR THEN 1 ELSE
IF {SERVICE_REQUEST.received_date} IN CALENDAR2NDQTR THEN 2 ELSE
IF {SERVICE_REQUEST.received_date} IN CALENDAR3RDQTR THEN 3 ELSE
IF {SERVICE_REQUEST.received_date} IN CALENDAR4THQTR THEN 4 ELSE 0
{SERVICE_REQUEST.received_date} is of type Datetime (8).
The formula always returns 0 ( the default condition).
Do I need to convert this date before referring to it in the compare.