Hi,
I have an EditForm that pulls information from my database.
Now I'm trying to create a delete button for the record within the form, but I'm stuck with trying to get the Item ID.
I've looked at this article: https://docs.microsoft.com/powerapps/maker/canvas-apps/controls/control-form-detail, which says that there's a Item parameter, that can be used. However, When I try to use EditForm.Item I get an error and it doesn't even show up in the autocomplete.
What am I missing?
Thanks
Solved! Go to Solution.
I found a workaround. I use a Gallery to list all items and then press on a button to take me to the editing form. So what I did was this:
RemoveIf('[dbo].[activity]'; id = Gallery2.Selected.id)
Which seems to work.
Thank you for your help!
Just use Remove() function for delete selected Item.
Maybe problem is much more complicate. If os it, please provide more detalis.
I found a workaround. I use a Gallery to list all items and then press on a button to take me to the editing form. So what I did was this:
RemoveIf('[dbo].[activity]'; id = Gallery2.Selected.id)
Which seems to work.
Thank you for your help!
Is there a difference between the two?
Ah, gotcha, makes sense! Thanks!
User | Count |
---|---|
260 | |
110 | |
98 | |
56 | |
40 |