Subject | Re: [IBO] bug in TIB_StoredProcedure ? |
---|---|
Author | Helen Borrie (TeamIBO) |
Post date | 2002-03-09T12:43:54Z |
At 11:39 AM 09-03-02 +0100, you wrote:
spC_S:=TIB_StoredProc.Create(Self);
straight into the IDE, set its SQL and SPName there?
of this query-that-never happens.
data links to enable them. Yes, there is a bug, but it isn't an IBO one. <g>
regards,
Helen Borrie (TeamIBO Support)
** Please don't email your support questions privately **
Ask on the list and everyone benefits
Don't forget the IB Objects online FAQ - link from any page at
www.ibobjects.com
>I am using IBO3.need to CREATE the object when you use it:
>
>This code
>
>procedure TForm1.FormCreate(Sender: TObject);
>begin
> wrong--->> spC_S:=TIB_StoredProc(Self); {spC_S is declared globally}
spC_S:=TIB_StoredProc.Create(Self);
> with spC_SBut why are you doing this in FormCreate? Why not drop the component
> DatabaseName:='server';
> SQL.Add('EXECUTE PROCEDURE c_s :cod_cau'); {1}
> StoredProcName:='c_s';
> Prepare;
> end;
>end;
straight into the IDE, set its SQL and SPName there?
>"cannot focus to a disabled or invisible window"Presumably you have a control (or group of controls) linked to the output
of this query-that-never happens.
>This could be a bug, since there is no visual part to focus to.A Control is a Window. It is (or they are) disabled because there are no
data links to enable them. Yes, there is a bug, but it isn't an IBO one. <g>
>Is there a patch or a workaround ?Yes: fix your code.
regards,
Helen Borrie (TeamIBO Support)
** Please don't email your support questions privately **
Ask on the list and everyone benefits
Don't forget the IB Objects online FAQ - link from any page at
www.ibobjects.com