I have an app that writes to a collection. On the first screen, the user enters the data in the textinputs, then clicks an "add record" button (OnSelect of the add record button) Collect(KBLCollection, {Date:DatePicker2.SelectedDate, Customer:Customer_ED.Selected.Value,Title:Employee_ED.Selected.Value});Reset(DatePicker2),Reset(Employee_ED),Reset(Customer_ED);SaveData(KBLCollection, "KBLCollectKeep")
I have another screen (CollectEdit2) with a gallery linked to the collection and the textInputs are set to CollectGallery.Selected.Title. I also have a update record button with the onslect set to Patch(KBLCollection,CollectGallery.Selected,{Date:Date_2.SelectedDate,Customer:Customer_2.Selected.Value,Title:Employee_2.Selected.Value}); Reset(Date_2),Reset(Customer_2),Reset(Employee_2)
The problem I'am having now, when a user adds information to the collection, and doesn't input any information in the dropdowns it automatically brings data across from previous entry. It only applies to the dropdown fields. Can you please assist?