I have a combo box in a canvas app called cb_Name, it gets populated from a collection <myCollection.Name>
The same field is used to display Name when the user is viewing a record and when a new records is being created.
What is happening at the moment is a user is opening the screen to view a records, the cb_Name field is populated with the value from the collection they have selected.
The user exits the screen and the Set(myCollection,Blank()) is triggered, clearing the values from Name.
If the user opens up the same screen again but this time to create a new records, the fields should all be blank as myCollection is blank, but the cb_Name field will be populated with the value that was last in myCollection.Name
The DefaultSelectedItems of the Name field is myCollection.Name
How can I ensure the combo box will only display what is in myCollection.Name, so blank when the value is blank.