Subject | Callback question |
---|---|
Author | Salvatore Besso |
Post date | 2003-12-31T23:49:55Z |
hello all,
Delphi 7 and IBO 4.2I. I'm trying to make a callback for an
TIB_StoredProc but with no luck. I have assigned CallbackInc := 5 and
the OnCallback event to a private method of the form respecting the
declaration found in the IBO help (BTW: Is there any particular reason
why CallbackInc, OnCallback and other related properties are not
published for this component?).
The stored procedure doesn't have DDL and is not selectable, it simply
reads an entire table from first to last record (with FOR...DO
statements) to update other tables. I execute it with ExecProc. The
problem is that the callback procedure mentioned above is never called
and obviously the program seems to be frozen for the two/three minutes
that the operation requires. The only purpose of the callback
procedure should be to update a progress bar based on the number of
record read from the input table.
Any hint?
Happy New Year to all the list
Salvatore
Delphi 7 and IBO 4.2I. I'm trying to make a callback for an
TIB_StoredProc but with no luck. I have assigned CallbackInc := 5 and
the OnCallback event to a private method of the form respecting the
declaration found in the IBO help (BTW: Is there any particular reason
why CallbackInc, OnCallback and other related properties are not
published for this component?).
The stored procedure doesn't have DDL and is not selectable, it simply
reads an entire table from first to last record (with FOR...DO
statements) to update other tables. I execute it with ExecProc. The
problem is that the callback procedure mentioned above is never called
and obviously the program seems to be frozen for the two/three minutes
that the operation requires. The only purpose of the callback
procedure should be to update a progress bar based on the number of
record read from the input table.
Any hint?
Happy New Year to all the list
Salvatore