I have in selection formula condition:
{@next_day} < {?end_date} //end_date is a parameter field
{@next_day}
datevar nextdt := {@begin_date};
numbervar i := {period};
while nextdt <= currentdate + i
do (nextdt := cdate(dateadd("d",i,nextdt)));
nextdt
When I try to run report I get error message: "The string is non-numeric". When I take off that condition from selection formula, report works fine. But then it shows all values.
Is it possible to get that condition work?
{@next_day} < {?end_date} //end_date is a parameter field
{@next_day}
datevar nextdt := {@begin_date};
numbervar i := {period};
while nextdt <= currentdate + i
do (nextdt := cdate(dateadd("d",i,nextdt)));
nextdt
When I try to run report I get error message: "The string is non-numeric". When I take off that condition from selection formula, report works fine. But then it shows all values.
Is it possible to get that condition work?