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?
With @madlad 's help this solved it
Remove('NDT Cert Tracker',LookUp('NDT Cert Tracker', ID = galNDT.Selected.ID))
Thank you!!! Super helpful
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! 🙂
WarrenBelz
146,635
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,997
Most Valuable Professional