cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
JoseC12
Level: Powered On

Delete a record by inserting a text

Good afternoon everybody, 

I have a gallery where I can edit number, but I want to know if I can write any number (for example: '0') and delete the record.
Gallery.PNG

Instead of 6, I write 0 and it removes it

1 ACCEPTED SOLUTION

Accepted Solutions
WarrenBelz
Level 8

Re: Delete a record by inserting a text

Hi @JoseC12 ,

A bit dangerous, but you will have to put a valid value in YourField.Value

If(
   Yourfield.Value = 0,
   Remove(ThisItem)
)

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

View solution in original post

3 REPLIES 3
WarrenBelz
Level 8

Re: Delete a record by inserting a text

Hi @JoseC12 ,

A bit dangerous, but you will have to put a valid value in YourField.Value

If(
   Yourfield.Value = 0,
   Remove(ThisItem)
)

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

View solution in original post

JoseC12
Level: Powered On

Re: Delete a record by inserting a text

Hello, which property should I put that formula?

Thanks

WarrenBelz
Level 8

Re: Delete a record by inserting a text

@JoseC12 

In the OnChange of the control that you are inputting the zero.

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

Helpful resources

Announcements
New Ranks and Rank Icons in April

'New Ranks and Rank Icons in April

Read the announcement for more information!

Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

thirdimage

Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (5,214)