I currently have a Form that has a drop-down list that is pulled from a SQL list. I have the form saving the correct value by setting the Update to select the ID and not the name. My issue is that it will not show the correct set selection from the database. The edit form needs the drop-down set by the id of the ref table by the type_id handed to it and display the Name tied to that id. I really just need a way to set the default id and not the value.
I have tried setting the default to the following with no obvious change.
Posts I have looked at and not found a solution.
Solved! Go to Solution.
Solved my own issue. The default value has to match the values listed in the drop-down. The whole time I was trying to match the ID value, which is not set at the drop-down value.
The formula for the drop-down is listed below. Just need to build a lookup and then find where it is set to the ID and have it produce the named value.
LookUp('[dbo].[gates_contacts_types]',id = Parent.Default).name
Solved my own issue. The default value has to match the values listed in the drop-down. The whole time I was trying to match the ID value, which is not set at the drop-down value.
The formula for the drop-down is listed below. Just need to build a lookup and then find where it is set to the ID and have it produce the named value.
LookUp('[dbo].[gates_contacts_types]',id = Parent.Default).name
Stay up tp date on the latest blogs and activities in the community News & Announcements.
Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.
User | Count |
---|---|
208 | |
206 | |
85 | |
57 | |
35 |
User | Count |
---|---|
332 | |
259 | |
132 | |
86 | |
60 |