Hi, thanks to the tool! I’m a complete beginner and I don’t know how to make changes to a record with dropdown.
I have a database with a text-type table customer status. In the register, there are 4 options dropdown, A, B, C and D that set the chose option in this table.
However, I need this data to be changed later if necessary. I’ve learned to update other, simpler fields, like texts and numbers, but with the dropdown I still don’t know how to do it.
On the update record screen, I placed the dropdown and values as on the record screen, and configured the Save button to update the record normally. However, even if you choose a new option in this dropdown, it does not update the customer’s status. It must be simple, but I can’t do it and I didn’t find any information on the internet or in the forum that would help me.
If possible, I would also like to know how to put the selected option as the first one chosen in the dropdown.
I believe I am working wrong from the beginning, I may have to change the type of the table, but I really don’t know how to do that.
The “Selected Value” property of the dropdown control should be assigned/bound to the property in your data variable that represents the selected value for the dropdown.
When you first come into the screen, the “Selected Value” property needs to be set to the “value” of the data for the dropdown. This will cause the dropdown to show the current “label” in the control.
With the data variables property, for whatever you are using the dropdown for, bound to the dropdown property “Selected Value”, when you select a new item from the dropdown it will automatically change it in your data variable. This will allow you to update the data variable by calling your API and have the new value set.
Let me know if you need me to clarify this further or if you get it to work. Good luck!