 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Linkage Guest
|
Posted: Wed Dec 20, 2006 9:11 am Post subject: delphi ADO Blob Parameter InSize 5009 OutSize 5008 Problem |
|
|
LParameter:=TestAQY.Parameters.AddParameter;
LParameter.Name:='DATA';
LParameter.DataType:=ftBlob;
LParameter.LoadFromFile('CRW'); // Data Size 5009
TestAQY.SQL.Text:='UPDATE TEST SET DATA=:DATA WHERE ID=1';
TestAQY.ExecSQL;
TestAQY.SQL.Text:='SELECT ID, DATA FROM TEST WHERE ID=1';
TestAQY.Open;
TBlobField(TestAQY.FieldByName('DATA')).SaveToFile('CRO'); // DataSize
5008 Size -1
Size is not 2Byte Code Auto Resize ?
plz... Help Me |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|