CharacterType Property
Description
The CharacterType property sets or returns the type of character set used by the data source.
Syntax
FlatFileDataSource .CharacterType
Applies To
Discussion
Use this property to set either the Windows ANSI (ISO 8859-1) or the DOS (OEM) character set.
We recommend that you use the same character set on both the client and the server while developing the client/server model to ensure correct results with extended characters (above 128).
The CharacterType property uses the values of xtrCharacterType.
Type
Constant - xtrCharacterType
Access
Read/Write
Examples
objDataSource
= objModel.DataSources.
Add(xtrObjectType.trFlatFileDataSource)objDataSource.CharacterType
= xtrCharacterType.trCharAnsiSingleByte