ToOEM
See Also: String Functions, ToANSI
Purpose
Converts a string from the ANSI (American National Standards Institute) character set to the OEM (Original Equipment Manufacturer) character set.
Return Type
Syntax
Use GlobalFunctionsProcedures.pkg
(ToOEM({string-value}))
What It Does
ToOEM converts the string from ANSI to OEM.
Notes
- Windows controls need to display ANSI data. Internally, DataFlex objects use 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 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 two different character sets.