record was not located to update
Hallo,
habe folgenden code:
Code:
Bekomme leider die Fehlermeldung, das der Record zum aktualisieren nicht gefunden werden konnte. Was mache ich falsch?
var blob_source: tstream;
blob_target: TIBBlobStream; begin table.Insert; table.FieldByName('xyz').AsInteger:= 5; try blob_source:= tstream.Create; // fill the stream with any data you want here blob_target := tibblobstream(table.createblobstream(table.FieldByName('xyz'),bmReadWrite)); // create blob container blob_target.CopyFrom(blob_source,blob_source.size); // save stream into blob finally table.Post; // post the changes blob_source.Destroy; blob_target.Destroy; end; // try finally Danke und Gruss lkz633 |
Alle Zeitangaben in WEZ +1. Es ist jetzt 02:17 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz