Subject | Re: Stored procedure column type |
---|---|
Author | stanw@earthlink.net |
Post date | 2003-12-16T16:03:46Z |
--- In IBObjects@yahoogroups.com, "Jerry Sands" <jsands@g...> wrote:
4.2Ie. Maybe there's a problem with v4.3.
Stan
> I am having a problem TIB_Query that calls a stored procedure thatreturns 5
> floats. When the TIB_Query has the Display Format set to ",0.00"and a
> non-zero result is returned for one of the floats I geta "12.3456783294678
> is not a valid integer value." Error. It is easily reproducible byjust
> creating a stored procedure as follows:result to a
>
> CREATE PROCEDURE TESTFLOAT
> returns (F1 FLOAT,
> F2 FLOAT,
> F3 FLOAT,
> F4 FLOAT)
> AS
>
> begin
> F1 = 0;
> F2 = 0;
> F3 = 0;
> F4 = 12.345678;
> SUSPEND;
> end
>
> Then with a TIB_Query put in the SQL:
>
> SELECT * FROM TestFloat
>
> Set up F1 F5 to have ",0.00" (or any format that formats the
> non-integer value). Try to prepare and open the dataset right fromthe
> Query dialog and you should get the error message.type from
>
> It appears that IBObjects is not correctly determining the column
> a stored procedure.I prepared and opened it and got no error. I'm using Delphi 7 and IBO
>
> I am using Delphi 7 and IBObjects V4.3Aa.
>
> Thanks
>
> Jerry Sands
>
>
>
>
4.2Ie. Maybe there's a problem with v4.3.
Stan