Subject | Re: [IBO] TIBOQuery and selectable SP |
---|---|
Author | Helen Borrie |
Post date | 2004-01-14T22:59:33Z |
At 10:55 PM 14/01/2004 +0100, you wrote:
to generate xxxSQL dynamically at Prepare time. Because this is not an
updatable dataset, the first automatic xxxSQL statement that IBO tries to
prepare to comply with RequestLive results in this error.
Refer back to my very detailed responses earlier in the week, where I
explained to you about RequestLive and how to make a non-updatable dataset
updatable.
For future reference, set RequestLive true when you have a genuinely
updatable dataset; in all other cases, provide xxxSQL properties for each
xxx operation that you want to enable.
Helen
> > the error message is 'Invalid request handle'.RequestLive only works on a query on a single physical table and causes IBO
>
>
>
>Here is how I open the query
>
>procedure TDataModule2.waGET_MY_PROJECTSExecute(Sender: TObject);
>begin
> with IBO_QRY_MY_PROJECT do begin
> if not prepared then prepare;
>
> IBO_QRY_MY_PROJECT.RequestLive := true;
to generate xxxSQL dynamically at Prepare time. Because this is not an
updatable dataset, the first automatic xxxSQL statement that IBO tries to
prepare to comply with RequestLive results in this error.
Refer back to my very detailed responses earlier in the week, where I
explained to you about RequestLive and how to make a non-updatable dataset
updatable.
For future reference, set RequestLive true when you have a genuinely
updatable dataset; in all other cases, provide xxxSQL properties for each
xxx operation that you want to enable.
Helen