Is it possible if I set the switch to inactive that the text of ingredients changes in edit screen (datacards)?
Solved! Go to Solution.
@rho1967 Yea, that's b'coz of circular reference. Do this then,
In the OnCheck of the Toggle control set a variable, Set(varIngredients, yourTextIngredientsInput.Text & ", " & "whatever ingredients") and then set the Default property of the ingredients TextImput to varIngredients.
Please remember to give a 👍 and accept my solution as it will help others in the future.
@rho1967 In the OnCheck of the Toggle control set a variable, Set(varIngredients, "whatever ingredients") and then set the Default property of the ingredients TextImput to varIngredients.
Thanks.
Works perfectly if all text has to be overwritten. But if I want to supplement the text that is entered with other text?
@rho1967 Then set the Default property of the ingredients TextImput to Self.Text & ", " & varIngredients
Please remember to give a 👍 and accept my solution as it will help others in the future.
@rho1967 Yea, that's b'coz of circular reference. Do this then,
In the OnCheck of the Toggle control set a variable, Set(varIngredients, yourTextIngredientsInput.Text & ", " & "whatever ingredients") and then set the Default property of the ingredients TextImput to varIngredients.
Please remember to give a 👍 and accept my solution as it will help others in the future.
Hi, I now have the line below. This works perfectly.
If(DataCardValue9.Value = false,Set(varIngredientenActive, "XXX-, " & ThisItem.Ingredienten ),Set(varIngredientenActive, ThisItem.Ingredienten))
Now when I set the switch to inactive it shows XXX-, in front of it. This works perfectly. When I call up the ingredient again it does indeed say XXX-, in front of it. Now it would be all right if I put the switch back to Active that the XXX-, before it disappears. How can I do this?
I hope you can still help.
User | Count |
---|---|
253 | |
122 | |
106 | |
54 | |
48 |