Subject | Re: [IBO] Confusion about StoredProc vs use of Cursor or Query (was Help with OnCallBack) |
---|---|
Author | Geoff Worboys |
Post date | 2005-07-02T21:56:56Z |
> The Stored procedure has SUSPEND and returns multiple rowsNo. OnCallback occurs entirely within the TIB_DataSet based
> and has ROWCOUNT to pass for the CallBack.
> I'm using the Query.SQL as in SELECT * FROM MYSP.
> Do I need to add a TIB_StoredProc and use that OnCallBack to
> make the progress meter step?
on a combination of rows fetched, the time elapsed and the
properties you have set. ie. Make sure you have set
CallbackInc to 1 or more.
Set a breakpoint in the procedure
procedure TIB_Dataset.DoCallback;
to try and catch what is going on. If the breakpoint is not
getting hit there then place a breakpoint in the
procedure TIB_Dataset.SysFetchNext;
This should allow you to discover why your particular callback
does not seem to be firing.
--
Geoff Worboys
Telesis Computing