Delphi 2007 - TBlobfield error
I'm converting an application from Delphi6 to Delphi 2007.
The following instruction
TBlobField(ADOTable1.FieldByName(AFieldName)).LoadFromFile(AFilename);
should store the content of a RTF file into a Memo field of a Table of an
Access Database.
In Delphi 6 it works; in Delphi 2007 no exception raised but into the blob
field isn't stored the content of the file but a a sequence of
nonsense characters!
Same result using LoadFromStream.
Any ideas?
.
Relevant Pages
- Re: Delphi 2007 SA vs C++Builder 2007 SA
... You should also have noticed that SA for C++ Builder is somewhat cheaper ... The fact that C++ Builder and Delphi for Win32 have the same unit price ... In the AU/NZ store the C++ Builder SA is described nicely, ... The US store is a bit different - the items in the cart there provide NO ... (borland.public.delphi.non-technical) - After porting a DOS BP7 app to Delphi....
... DOS based POS BP7 app into Delphi and Windows. ... The end result was released to the customer in April. ... Delphi app for this store. ... (borland.public.delphi.non-technical) - Re: Saving values to a file
... >In delphi, it stores it as it is stored in memory. ... >You can define a structure and store it. ... UDTs are DWORD aligned is invisible to most VB programmers. ... (alt.comp.lang.borland-delphi) - Re: Backend/FrontEnd database question
... A jack hammer is to a hand held hammer what Delphi is to Access. ... is an enterprise level OOP platform like Java and .Net. ... I would just write out the sql strings in the Delphi app and store ... (comp.databases.ms-access) - Re: Saving values to a file
... Toon Krijthe wrote: ... >>Kind Regards Sander ... In delphi, it stores it as it is stored in memory. ... You can define a structure and store it. ... (alt.comp.lang.borland-delphi) |
|