Subject | TIB_Query Edit = "Record was not located to update" |
---|---|
Author | tickerboo2002 |
Post date | 2003-03-28T09:51:26Z |
I dynamically create a TIB_Query and do the following:
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?
Ta
David
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?
Ta
David