See Also: String Functions, ToOEM
Converts a string from the OEM (Original Equipment Manufacturer) character set to the ANSI (American National Standards Institute) character set.
Use GlobalFunctionsProcedures.pkg
(ToANSI( {string-value} ))
ToANSI converts the string from OEM to ANSI.
Windows controls need to display ANSI data. Internally, DataFlex objects uses OEM data. Therefore, before a value is displayed it must be converted to ANSI. When a value is moved from a Windows control back to the DataFlex object it must be converted to OEM. This translation occurs automatically and it is not something you normally need to deal with. If for some reason your application is directly working with ANSI data, you may need to convert the data manually between the 2 different character sets.