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
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Power Apps June 2021

June Power Apps Community Call

Don't miss the call this month on June 16th - 8a PDT

Top Solution Authors
Top Kudoed Authors
Users online (32,247)