pegaga1979
29th October 2014, 13:44
Hi,
i would like to create a report that not print data before date 03/09/2014 00:00:00. in other words to have data printed only after date 03/09/2014 00:00:00.
i have put in script as below but result no data at all.
can anyone assist me?
declaration:
extern domain tcdate date.f
long year,month,day,hour,minute,sec
before.program:
utc.to.date (utc.num(),year,month,day,hour,minute,sec)
date.f = date.to.utc (2014,09,03,0,0,0)
detail.1:
before.layout:
if hcasc905.rcdt <= date.f then
lattr.print = false else
lattr.print = true
endif
i would like to create a report that not print data before date 03/09/2014 00:00:00. in other words to have data printed only after date 03/09/2014 00:00:00.
i have put in script as below but result no data at all.
can anyone assist me?
declaration:
extern domain tcdate date.f
long year,month,day,hour,minute,sec
before.program:
utc.to.date (utc.num(),year,month,day,hour,minute,sec)
date.f = date.to.utc (2014,09,03,0,0,0)
detail.1:
before.layout:
if hcasc905.rcdt <= date.f then
lattr.print = false else
lattr.print = true
endif