Delphi Database, Delphi Components from ComponentAce
Products Download Order Contact us
Unicode
Previous  Top  Next



Absolute Database provides Unicode support by:

·Unicode data types  
·Unicode query parameters  
·Support for Unicode DB-aware controls  

Unicode data types includes WideString and WideMemo data types.
Table with unicode fields could be created via specifying AdvFieldDefs instead of FieldDefs property of TABSTable component.

Unicode query parameter could be specified as follows:

var w: WideString;  
...  
ABSQuery1.SQL.Text := 'SELECT * FROM Employee WHERE UnicodeName=:Name';  
ABSQuery1.Params[0].DataType := ftWideString;  
ABSQuery1.Params[0].Value := w;  

Standard Borland DB controls don't support Unicode, so we recommend you to use third-party Unicode DB-aware controls, such as Tnt controls from http://tnt.ccci.org/delphi_unicode_controls/


Important Note:
Windows 95/98/ME don't aupport Unicode by default. To enable Unicode in your application, please download Microsoft Layer for Unicode on Windows 95/98/Me systems from msdn.microsoft.com and put "unicows.dll" file to the folder with your application
        © 2003 - 2024 ComponentAce  | .net zip component | barcode for .net | delphi zip component | delphi database Oct 06, 2024