Subject Re: [IBO] TIBOQuery Params defined from SQL?
Author rob
did that, but they seem to be prepared with paramtype ptunknown (instead of
ptInput) and dataType of ftUnknown (instead of the fieldtype of the field
the parameter is used with...which may not be possible to determine).

thanks

rob

"Daniel Rail" <daniel@...> wrote in message
news:1139046609.20030604170719@......
> Hi,
>
> At June 4, 2003, 15:03, rob wrote:
>
> > greetings,
>
> > Is it possible for a TIBOQuery to create its TParam objects correctly
from
> > the SQL? I have created a component with an embedded TIBOQuery. The
> > component has an sql property that the developer sets. I'd like to not
> > force the developer to create any params if possible.
>
> Simply call TIBOQuery.Prepare. Then your TParams will be populated.
>
> --
> Best regards,
> Daniel Rail
> Senior System Engineer
> ACCRA Group Inc. (www.accra.ca)
> ACCRA Med Software Inc. (www.filopto.com)
>
>
>
>
___________________________________________________________________________
> IB Objects - direct, complete, custom connectivity to Firebird or
InterBase
> without the need for BDE, ODBC or any other layer.
>
___________________________________________________________________________
> http://www.ibobjects.com - your IBO community resource for Tech Info
papers,
> keyword-searchable FAQ, community code contributions and more !
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>