My Power Apps app is showing old values from a previous record where the current values are NULL.
This is totally unacceptable!
In all cases I have set Reset to true.
In all cases I have set Default Data to a formula like:
If(!IsBlank(SelectedItem.ActualQtyDelivered)||!IsEmpty(SelectedItem.ActualQtyDelivered),
SelectedItem.ActualQtyDelivered,
"")
My record is loaded in the OnVisible action of the screen:
UpdateContext({Tab1:true});
If(!IsBlank(SelectedItem.thOurRef)||!IsEmpty(SelectedItem.thOurRef),
ClearCollect(itemCollection,UpdateGoodsIn.Run(SelectedItem.thOurRef, SelectedItem.stCode)));
If(IsBlank(SelectedItem.thOurRef)||IsEmpty(SelectedItem.thOurRef),
Notify("No record selected", NotificationType.Error));
UpdateContext({Updated:false});
How do I get it to display the correct values?