Crystal Reports version 9 on SQL/Oracle
My formula starts out as:
if {SERVICE_LEVEL.RESPONSE_TIME}="8 HR"
then "00:08:00:00"
else
if {SERVICE_LEVEL.RESPONSE_TIME}="4 HR"
or {SERVICE_LEVEL.RESPONSE_TIME}="4hr"
then "00:04:00:00"
else
if {SERVICE_LEVEL.RESPONSE_TIME}="2HR-PHONE"
then "00:02:00:00"
else
if {SERVICE_LEVEL.RESPONSE_TIME}="CUSTOM"
then "00:99:00:00"
else
and goes on through various times. It works fine, but my problem is the result is a string and I need a DateTime value. How do I achieve this?
This formula is placed in the visable Group Footer.
My formula starts out as:
if {SERVICE_LEVEL.RESPONSE_TIME}="8 HR"
then "00:08:00:00"
else
if {SERVICE_LEVEL.RESPONSE_TIME}="4 HR"
or {SERVICE_LEVEL.RESPONSE_TIME}="4hr"
then "00:04:00:00"
else
if {SERVICE_LEVEL.RESPONSE_TIME}="2HR-PHONE"
then "00:02:00:00"
else
if {SERVICE_LEVEL.RESPONSE_TIME}="CUSTOM"
then "00:99:00:00"
else
and goes on through various times. It works fine, but my problem is the result is a string and I need a DateTime value. How do I achieve this?
This formula is placed in the visable Group Footer.