I need to save a last value of a dropdown control and maintain the previous value as the dropdown control update to a new value.
Here is my meager attempt. But this doesn't work.
If(Not(varTargetLang = varLastTargetLang), Set(varLastTargetLang, varTargetLang))
The last value needs to be stored even when the app is closed and reopened. Thanks.
Hi @DonBo ,
Please help to clarify a few questions before going any further:
1. By "the last value", did you mean the last option in the dropdown control? For example, if the options are "1","2","3", then 3 is the last value you are referring to?
2. By "maintain the previous value", did you mean that this dropdown control is inside a Form control, and it has an existing value selected, you want to create a new record with this previous selected value to the data source?
If my understanding is incorrect, please explain with some sample data.
Regards,
Mona