Hello!
I've successfully used formula to retrieve data until i started using current date in both places like from 8/30/2006 to 8/30/2006 brings me nothing.
Originally {@TransDate}was DateTime and now it is CDATE(field) so I converted it from DateTime into Date.
Any suggestions?
(
if {?StartDate} <> date(9999,9,9) then
{@TransDate}>= {?StartDate} else
if {?StartDate} = date(9999,9,9) then
true
)
and
(
if {?EndDate} <> date(9999,9,9) then
{@TransDate} <= {?EndDate} else
if {?EndDate} = date(9999,9,9) then
true
)
I've successfully used formula to retrieve data until i started using current date in both places like from 8/30/2006 to 8/30/2006 brings me nothing.
Originally {@TransDate}was DateTime and now it is CDATE(field) so I converted it from DateTime into Date.
Any suggestions?
(
if {?StartDate} <> date(9999,9,9) then
{@TransDate}>= {?StartDate} else
if {?StartDate} = date(9999,9,9) then
true
)
and
(
if {?EndDate} <> date(9999,9,9) then
{@TransDate} <= {?EndDate} else
if {?EndDate} = date(9999,9,9) then
true
)