Subject | Re: Stored procedure |
---|---|
Author | james_027 |
Post date | 2003-10-18T08:37:54Z |
the "DO" clause should be after into :platsnr; after the "DO" then
place the clause "begin" follow the if last_pnr+1 .... then instead
of :platsnr=:platsnr+1; it should be "platsnr" = "platsnr" + 1; then
follow by "suspend;", then place "end"
in the end it should look like this
INTO :platsnr;
do
begin
if last_pnr+1 <> :platsnr then /*found one, how do I exit the
procedure*/
:platsnr=:platsnr+1;
end
end
place the clause "begin" follow the if last_pnr+1 .... then instead
of :platsnr=:platsnr+1; it should be "platsnr" = "platsnr" + 1; then
follow by "suspend;", then place "end"
in the end it should look like this
INTO :platsnr;
do
begin
if last_pnr+1 <> :platsnr then /*found one, how do I exit the
procedure*/
:platsnr=:platsnr+1;
end
end