Good day,
It seems I have trouble with making a formula work ONLY on edit mode when it is Program is Firstly opened. This doesn't seem to happen on edit mode preview.
The Formula of the first one is Parent.Default = 2021-10-17-PDMT-13
The 1 is just a checking to know if the application is detecting FormMode.Edit or not. It says 1 so it knows it is in edit mode
However, the encircled Item is showing a different number and doing the "False" task.

This seem to happen only if I go straight to Edit Mode instead of going to create a new Form first. (But i sometimes need to do this sadly)

The Code is:
If(Form1.Mode = FormMode.Edit,Parent.Default,Text(DataCardValue2.SelectedDate,"yyyy-mm-dd-PDMT-")& Last('PADMOUNTED TRANSFORMER').ID+1)
Where:
DataCardValue2 = calendar date
Padmounted Transformer = Sharepoint data
ID+1 is just for counter purposes ( I do not want it to change if it is on Edit mode but at least display it. However it is displaying the ID+1 instead and if I click submit it will replace the value. Alternatively, i can disable the update on Form.Mode.Edit i suppose. But i rather have it display the correct value.
**this doesn't seem to be the case if a new sheet was already opened.