Subject RE: [IBO] Re: Creating a Stored Procedure at runtime
Author Gerhardus Geldenhuis
Could you send me a code snippet please.


> Helen,
> I got error messages "Can't prepare..." from TIB_StoredProc with
> StoredProcForSelect = True, when I haven't assigned ParamNames (if
> any). So I always assign ParamNames for all
> TIB_StoredProc "ForSelect" and it works fine. Am I missing anything?
> Regards
> Richard
> --- In IBObjects@y..., Helen Borrie <helebor@d...> wrote:
> > No; the component gets and populates the Params itself, when the
> statement is prepared. So, call Prepare first, then *read* the
> Params property and do what what you need with your variables in
> AfterPrepare.