Notifications
Announcements
The reason you see 'no error' is that the Set function worked as it expected: it stored the <error> value into the variable 'newId'. Errors are values that can be stored (in memory, not in a connected data source) and handled later as part of the normal (non-erroneous) execution of the app.
For example, if we have a button with an expression 'Set(inverse, 1 / Value(TextInput1.Text))', this operation will always work. If you have a label with the expression 'If( IsError( inverse ), "The inverse is an error", "The inverse is " & inverse )'
Hope this helps!
Thank you
After you run the code, technically the code run without an error and you did set the value of your variable, the only issue is that value will be of type ‘error’, thats why you have false result of iferror.
Thats my understanding at least.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 793 Most Valuable Professional
Michael E. Gernaey 333 Super User 2025 Season 2
Power Platform 1919 268