>In my window regional setting for numbers there are 3 choices. Context, Arabic and Hindi. I would like to be able to switch between context and hindi from within the init event of a form. From previuos threads I manage to switch between english and arabic keyboard layout.
>
>Your help is appreciated.
>
>Thanks
If you issue SET SYSFORMATS ON, Visual FoxPro will use the settings from the Control Panel. This affects presentation of dates (DMY, or MDY, or YMD), numeric format, and several other options.
The other alternative is to keep SET SYSFORMATS OFF (the default), and use SET POINT and SET SEPARATOR.
For instance, in the United States they use "." for separating decimals, and "," for separating thousands, millions, etc. In Latin America, it is usually the other way; so I could issue:
set point to ","
set separator to "."
HTH, Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)