cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
DonBo
Level: Powered On

save a last value of a dropdown control and maintain the previous value as the dropdown control update to a new value.

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.

1 REPLY 1
Highlighted
Community Support Team
Community Support Team

Re: save a last value of a dropdown control and maintain the previous value as the dropdown control update to a new value.

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

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors (Last 30 Days)
Users online (5,449)