Hi @Robert94 ,
Set a Variable in your Saved code
UpdateContext({varSaved:true})
also put at Screen OnVisible
UpdateContext({varSaved:false})
Then the DisplayMode of your Cancel button would be
If(
varSaved,
DisplayMode.Edit,
DisplayMode.Disabled
)
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
Visit my blog Practical Power Apps