This is the code I add to my main PRG.
SET PROCEDURE TO INTL ADDITIVE
_SCREEN.AddObject( "oINTL", "INTL")
_SCREEN.oINTL.SetConfig(1 + 4)
LOCAL loTempHandle
loTempHandle= _SCREEN.oINTL.GetStrategy("String")
loTempHandle.SetConfig( 1 + 2 + 4)
loTempHandle= _SCREEN.oINTL.GetStrategy("Data")
loTempHandle.SetConfig( 2 + 4 )
and then in the init of a form (contained in a formset) I have the following code.
IF TYPE("_SCREEN.oINTL") == "O"
_SCREEN.oINTL.Localize( THIS)
endif
In that form I populate a combobox with two fields
The RowSource for that combobox is
select francais, cle from defcategempl order by francais into cursor cDefCateg
And here's what I have in the strings table.
Coriginal
((Rowsource))select francais, cle from defcategempl order by francais into cursor cDefCateg
Cenglish
((Rowsource))select anglais, cle from defcategempl order by anglais into cursor cDefCateg
But that does'nt work the way it should. When Coriginal is selected it's working fine. But when it's Cenglish the value stored when I select an item from the combobox is not kept
What I mean is that I click the value desired and then I close the form and come back to look at the value and something else appears. It's not what I chose but another value from the valid values displayed in the combobox.
*******************************************************
Save a tree, eat a beaver.
Denis Chassé