Additional
dbCAP
AnyDAC
ThinDAC
NCOCI8
Topic: MsAccess with WideString?
MsAccess with WideString?
Posted: 2007/10/24 07:00
 
hi,
is there a way to enable MsAccess with WideString support?
Re:MsAccess with WideString?
Posted: 2007/10/24 07:16
 
Environment:

Delphi 2006
AnyDac 2.05

ADO (which comes with Delphi 2006).

When you import the DataType from Access to Delphi -->

ADO --> WideString
AnyDac --> AnsiString

Is there a way to import a string from MsAccess AnsiString to WideString?
Re:MsAccess with WideString?
Posted: 2007/10/24 07:23
 
Hello

If you need all ftString to be ftWideString, then do following:

 with ADConnection1.FormatOptions do begin   OwnMapRules := True;   with MapRules.Add do begin     SourceDataType := dtAnsiString;     TargetDataType := dtwideString;   end; end;



Regards,
Dmitry