cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
llserra
Helper II
Helper II

Change value datacard from Dropdown

Hi

I have a Form edit with some datacards from a sharepoint list, this is a computer with  ram ,hd ,veolocity...

Inside i have a DropDown has has a model from another sharepoint list ,with ram ,hd ,veolocity...

I want that if i change DropDown model all datacards change their values with values from the new Model.

I have tryed....

 

ComboBox_Model.Onselect and ComboBox_Model.Onchange -->

DataCardValue119.Text=ComboBox_Model.Selected.var_ram // Datacard ram value

or more simple

ComboBox_Model.Onselect and ComboBox_Model.Onchange --> DataCardValue119.Text="999" //to try

 

But DataCardValue119 never change his value

 

Does anybody know how i can change it also for ram and other datacardsvalues?

 

Thanks

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions

I tryed this and it works...

 

DataCardValue120.Default

If(Parent.Default<>Value(ComboBox_Model.Selected.var_discoDuro) And Value(ComboBox_Model.Selected.var_discoDuro)<>0;Value(ComboBox_Model.Selected.var_discoDuro);Parent.Default)

 

update:

Value(DataCardValue120.Text)

 

And works ,when i change combobox ,always change datacard value ,if not ,datacard value it's his default value.

 

Thanks

View solution in original post

3 REPLIES 3
rsaikrishna
Dual Super User
Dual Super User

@llserra 

 

You are not placing the formula in correct location.

 

To set the value of Ram field based on Model field, you should place the formula in Ram field's default property and Update property as well.

 

Regards

Krishna Rachakonda

If this reply helped you to solve the issue, please mark the post as Accepted SolutionMarking this post as Accepted Solution, will help many other users to use this post to solve same or similar issue without re-posting the issue in the group. Saves a lot of time for everyone.

 

Hi Thanks for your answer, it works but not as expected because i want that datacardram value only change if i change drowpdown value. Do you know how to do it?
Thanks again

I tryed this and it works...

 

DataCardValue120.Default

If(Parent.Default<>Value(ComboBox_Model.Selected.var_discoDuro) And Value(ComboBox_Model.Selected.var_discoDuro)<>0;Value(ComboBox_Model.Selected.var_discoDuro);Parent.Default)

 

update:

Value(DataCardValue120.Text)

 

And works ,when i change combobox ,always change datacard value ,if not ,datacard value it's his default value.

 

Thanks

View solution in original post

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Microsoft Ignite 768x460.png

Find your focus

Explore the latest tools,training sessions,technical expertise, networking and more.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (1,569)