Hi I would use multicurrency subform but I could not find the right way, I used a combo to change the location of the subform but only changes the first value, could someone please help me.
Thanks.
Hi,
There is an example here: http://assure.ly/e59VGu.
The first page changes the locale of target objects individually.
The second page adapt's Paul's function to change the locale of all of the objects in a container.
Hope that helps,
Niall
Hi,
From the Help in LC Designer:
A locale is a standard term used when developing international standards to identify a particular nation (language, country or region). For the purposes of FormCalc, a locale defines the format of dates, times, numeric, and currency values relevant to a specific nation or region so that users can use the formats they are accustomed to.
When developing a form you would generally set the locale for the form in the File > Form Properties > Defaults tab.
You would either set it to a specific locale (language/country) or to "Viewer's system locale". The second option means that when the form is opened the numbers, dates, etc. will be displayed as per the user's preferences.
As wll as setting the default locale at design time, you can also set the locale of individual objects in the Object > Field palette and hit the Patterns button:
For the most part you would set the locale at design time in LC Designer.
However there may be times where you want the user to be able to change the locale at runtime and this is what the example is demonstrating.
In the example the cost field has a default value set in the Object > Value palette and this is why you don't see it in the script.
Hope that helps,
Niall
North America
Europe, Middle East and Africa
Asia Pacific