Salam
Gunakan fungsi DateTime
jadi hasilnya seperti ini :
if {TP_CBS_DPS1.
CBS_DATE}>= *DateTime(2008,02,30)* and {TP_CBS_DPS1.CBS_DATE} <=
*DateTime(2008,03,30)* then
'March'
and if {TP_CBS_DPS1.CBS_DATE}>= *DateTime(2008,03,30)* and
{TP_CBS_DPS1.CBS_DATE} <= *DateTime(2008,04,27)*' then
'April'
else
'May'
Semoga membantu
Ronald Simanjuntak
================
Para pakar Cristal Report saya punya kasus seperti ini mohon pencerahannya :
if {TP_CBS_DPS1.
CBS_DATE}>= '30/02/2008' and {TP_CBS_DPS1.CBS_DATE} <= '30/03/2008' then
'March'
and if {TP_CBS_DPS1.CBS_DATE}>= '30/03/2008' and {TP_CBS_DPS1.CBS_DATE}
<= 27/04/2008' then
'April'
else
'May'
dan Message errornya a-date-time is required here
--
Ronald "kriwelz" Simanjuntak
YM : curlyjoe_bug,imkriwelz
Skype, MSN : Kriwelz
Blog : http://kriwelz.web.id, http://kriwel.multiply.com