Subject | TIBODataset.ParamByName returns a TIB_Column |
---|---|
Author | Nando Dessena |
Post date | 2003-07-08T14:28:04Z |
Hello,
I have discovered that in IBO4 TIBODataset.Params returns a TParams
object (whose method ParamByName returns a TParam), while
TIBODataset.ParamByName returns a TIB_Column instead!
I think this is a leftover from the past (in the past - Params used to
return a TIB_Row), as ParamByName and Params.ParamByName should be
compatible (to be precise they should both return the same object).
This impression is further justified by the fact that
TIBOStoredProc.ParamByName is of type TParam already.
I have applied and tested the correction on my copy of the source and
it works well. Is there any particular reason it is the way it is and
can we change it for the next subrelease?
Thanks
--
Nando mailto:nandod@...
I have discovered that in IBO4 TIBODataset.Params returns a TParams
object (whose method ParamByName returns a TParam), while
TIBODataset.ParamByName returns a TIB_Column instead!
I think this is a leftover from the past (in the past - Params used to
return a TIB_Row), as ParamByName and Params.ParamByName should be
compatible (to be precise they should both return the same object).
This impression is further justified by the fact that
TIBOStoredProc.ParamByName is of type TParam already.
I have applied and tested the correction on my copy of the source and
it works well. Is there any particular reason it is the way it is and
can we change it for the next subrelease?
Thanks
--
Nando mailto:nandod@...