Notifications
Announcements
I have a form with a delete button, with OnSelect set to:
Remove('NDT Cert Tracker',LookUp('NDT Cert Tracker',ID=ThisRecord.ID))
When I use it I get the below error message
What do I need to fix?
Hi!
It looks like here it's having trouble actually retrieving the item- indicating that this may be in the LookUp, not the entire Remove.
Here you have: "LookUp('NDT Cert Tracker', ID = ThisRecord.ID)"
When you use "ThisRecord" like this, it is also referencing the ID column. Since the LookUp doesn't actually have any values to compare, it throws an error.
You'll need to replace "ThisRecord.ID" with something which returns a value. Could be a variable, a gallery selection, ect. Specifics for this depend on the rest of your app.
Hope this helps! 🙂
Thank you!!! Super helpful
With @madlad 's help this solved it
Remove('NDT Cert Tracker',LookUp('NDT Cert Tracker', ID = galNDT.Selected.ID))
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 717 Most Valuable Professional
Michael E. Gernaey 329 Super User 2025 Season 2
Power Platform 1919 268