execute procedure if (condition)
Hi all,
My need is to execute procedure only if condition is passed. Here is my code:
I should execute procedure only when cnt >= 1
Show me some example pls.
Fastreport version: 4.8.27
My need is to execute procedure only if condition is passed. Here is my code:
begin
SP.Params[0].Value := Report.VarParams;
SP.ExecProc;
end.
I should execute procedure only when cnt >= 1
select count(1) as cnt
from table1
where adate = SP.Params[0].Value
Show me some example pls.
Fastreport version: 4.8.27