Subject | Re: [IBO] TIB_Query Edit = "Record was not located to update" |
---|---|
Author | Helen Borrie |
Post date | 2003-03-28T09:57:06Z |
At 09:51 AM 28/03/2003 +0000, you wrote:
Bad or missing KeyLinks?
Closing the cursor before committing the work?
Helen
>I dynamically create a TIB_Query and do the following:Mmmm - where is the call to Post?
>
> if ( ! pQry->Prepared )
> pQry->Prepare();
> pQry->ParamByName("MyId")->AsInteger = nDocId;
> pQry->Open();
>
> if ( ! pQry->Eof )
> {
> pQry->Edit();
>
> // Assigna blob to a column
>
> pQry->Close();
> pQry->IB_Transaction->Commit();
> }
>
>When I execute the Close() method I get "Record was not located to
>update"
>
>Any ideas what this is?
Bad or missing KeyLinks?
Closing the cursor before committing the work?
Helen
>Ta
>
>David
>
>
>
>
>
>___________________________________________________________________________
>IB Objects - direct, complete, custom connectivity to Firebird or InterBase
> without the need for BDE, ODBC or any other layer.
>___________________________________________________________________________
>http://www.ibobjects.com - your IBO community resource for Tech Info papers,
>keyword-searchable FAQ, community code contributions and more !
>
>Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/