hi there,
i did try, but it didnt work.the samething happen like what i did.
thanx any way...
i did try this and i dont know whether its true as other people who have the same thing as me used to do it or what.but it works for now.
1.in section expert for details, i write the date code
detail g-{SEB17L01.IN_ASM-NOTICE_CREATE-DT_9} >= date(2011,01,01)
detail h-{SEB17L01.IN_ASM-NOTICE_CREATE-DT_9} >= date (2011,01,01)
detail i-{SEB17L01.IN_ASM-NOTICE_CREATE-DT_9} < date (2011,01,01)
detail j- {SEB17L01.IN_ASM-NOTICE_CREATE-DT_9} < date (2011,01,01)
2.i create a blank subreport for every details section (details g,h,i,j) and write the data type code in sub report format.
detail g
{SEB17L01.IN_ASM-NOTICE_ASM-TYPE_2} = "062" OR
{SEB17L01.IN_ASM-NOTICE_ASM-TYPE_2} = "064" OR
{SEB17L01.IN_ASM-NOTICE_ASM-TYPE_2} = "063" OR
{SEB17L01.IN_ASM-NOTICE_ASM-TYPE_2} = "166" OR
{SEB17L01.IN_ASM-NOTICE_ASM-TYPE_2} = "033"
detail i
{SEB17L01.IN_ASM-NOTICE_ASM-TYPE_2} = "062" OR
{SEB17L01.IN_ASM-NOTICE_ASM-TYPE_2} = "064" OR
{SEB17L01.IN_ASM-NOTICE_ASM-TYPE_2} = "063" OR
{SEB17L01.IN_ASM-NOTICE_ASM-TYPE_2} = "166" OR
{SEB17L01.IN_ASM-NOTICE_ASM-TYPE_2} = "033"
3.in subreport tab, i check for the surpress blank subreport
Edited by chengkeh - 08 Jun 2011 at 2:54pm