==================================
updated on 2006.8.22
This is not a bug.
It caused by old version midas.dll.
When use Delphi 2006 ClientDataSet, we should use the latest midas.dll with BDS 2006 and copy it to system32 directory on the run time computer.
If you still keep the old version midas.dll (e.g. of Delphi 7), it will cause this problem.
==================================
Delphi 2006 ClientDataSet/DataSetProvider on WIN2003 has a big problem:
in DB.pas: TWideMemoField = class(TBlobField)
Then CDS will treat Memo in Access or nText in MS SQL Server as BLOB field on
Windows 2003 (there is no problem on Windows XP)
http://qc.borland.com/wc/qcmain.aspx?d=31812
Then the DBGrid can not show the data, and the user can not see the data in
Access (because the data is saved as Blob).
It affects all of our programs now!
See Screen shorts of my programs:
Test on Windows XP SP2 (Good)

Test on Windows 2003 (Bad) :
Workaround:
1. Set DataSetProvider.ResolveToDataSet=True (to save data correctly)
2. Use field.AsWideString to read and write the value, do not use .AsString or .Value (to save data correctly)
3. Do not use DBMemo to show these text, show the content manually in Memo or TNTMemo (to show data correctly)
发表于 @ 2006年08月08日 10:45:00|评论(loading...)|编辑