@Lana
Put this code in the OnVisible property of your screen which holds the Form.
Set(varDisableAddAnother, true)
Then put this code in the DisplayMode property of the Add Another button
If(varDisableAddAnother=true, DisplayMode.Disabled, DisplayMode.Edit)
When the user has saved the record you want to enable Add Another. So put this code in the OnSuccess property of the Edit Form.
Set(varDisableAddAnother, false)
Now it should work... but you'll want to put this code in the OnSelect property of the Add Another button as a final step to change the Form to New Mode and disable the Add Another button once again.
NewForm(Form1);
Set(varDisableAddAnother, true)
---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."