Hello,
Please can you inform me what is wrong here?
TextInput1.Text=Value(TextInput1.Text)+1
I'm getting "values being compared have mismatched types, left is text and right is number..."

Hello,
Please can you inform me what is wrong here?
TextInput1.Text=Value(TextInput1.Text)+1
I'm getting "values being compared have mismatched types, left is text and right is number..."
Hello Salah,
Please note the following:
1. TextInput control's "Text" property is an "output" property which means you can read it (example: Label1.Text=TextInput1.Text) but you cannot assign values to it.
2. You cannot set a control with it's own output. Imagine that your formula did work and the initial value is 10. According to your formula, the value should be updated to 11, in which case the formula would be invoked again to update the value to 12 and so on. This is the reason PowerApps does not allow circular references.
3. The following formulas though are valid:
TextInpu2.Default=Value(TextInput1.Text)+1
Label1.Text=Value(TextInput2.Text) + 1