hi @inkbird01 ,
Screen's OnVisible property:
Set(varPreviousValue, LookUp(Sort(tbl_fruit, Created, SortOrder.Descending), Fruit.Value="Apple").FruitTaste);
Set(varCurrentValue, LookUp(Sort(tbl_fruit, Created, SortOrder.Descending), Fruit.Value="Apple").FruitTaste)
This sets both varPreviousValue and varCurrentValue to the initial value of the ComboBox when the screen loads.
ComboBox's OnChange property:
Set(varCurrentValue, Cbo_fruit.Selected.Value)
This updates varCurrentValue whenever the selected value in the ComboBox changes.
Submit button's Visible property:
varCurrentValue <> varPreviousValue
This makes the submit button visible only if the current selected value is different from the initial value.
Let me know if my answer helped solving your issue.
If it did please accept as solution and give it a thumbs up so we can help others in the community.