Subject | Re: SP and ODBC MFC |
---|---|
Author | zmahomedy |
Post date | 2002-11-10T09:14:25Z |
Thanks Frank..
That worked!
That worked!
>So afaikt the
> what happens when you change the sp to:
>
> BEGIN
> FOR SELECT var1, var2, var3
> FROM TABLE
> WHERE condition = condition1
> INTO :return1, :return2 , :return3
> DO BEGIN
> SUSPEND;
> EXIT;
> END
> EXIT;
> END
>
> (untested, just "from the hip")
>
> in your example you use a simple Select, and a Suspend afterwards.
> sp *must* return at least one row. with the FOR Select loop, if norecords are
> found, nothing is returned, so you should get an eof directly - ihope ;-)
>------
> regards & hth,
> fingerman
>
> --
> -------------------------------------------------------------------
> when parsers parse, and compilers compile, then why don't objectsobject?
>
> fingerbirdy - fingerman's door to Firebird
> http://www.fingerbird.de