Subject | bug in TIB_StoredProcedure ? |
---|---|
Author | Duilio Foschi |
Post date | 2002-03-09T10:39:03Z |
I am using IBO3.
This code
procedure TForm1.FormCreate(Sender: TObject);
begin
spC_S:=TIB_StoredProc(Self); {spC_S is declared globally}
with spC_S do
begin
DatabaseName:='server';
SQL.Add('EXECUTE PROCEDURE c_s :cod_cau'); {1}
StoredProcName:='c_s';
Prepare;
end;
end;
gives the following error message when line {1} is reached :
"cannot focus to a disabled or invisible window"
This could be a bug, since there is no visual part to focus to.
Is there a patch or a workaround ?
Thank you
Duilio Foschi
This code
procedure TForm1.FormCreate(Sender: TObject);
begin
spC_S:=TIB_StoredProc(Self); {spC_S is declared globally}
with spC_S do
begin
DatabaseName:='server';
SQL.Add('EXECUTE PROCEDURE c_s :cod_cau'); {1}
StoredProcName:='c_s';
Prepare;
end;
end;
gives the following error message when line {1} is reached :
"cannot focus to a disabled or invisible window"
This could be a bug, since there is no visual part to focus to.
Is there a patch or a workaround ?
Thank you
Duilio Foschi