Subject | [IBO] Re: Creating a Stored Procedure at runtime |
---|---|
Author | Richard Saeger |
Post date | 2001-12-04T09:51:40Z |
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
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.