Announcements
Hi everybody, I need to delete a record from a gallery; I'm using the REMOVE function and it works, but I do not understand how to navigate to a new screen after the delete is successfull. Can anybody help?
Thank you.
Tommaso
Remove(Gallery1.Selected) ; Navigate(Screen,Screen Transition.None)
Hi nickduxfield, thank you for asnwering. I tried your code, but I receive the following error: invalid token
This is the code:
Remove(carnet_soci;First(Filter(collezione_carnet;PrimaryId=elenco_lezioni.Selected.PrimaryId))); Navigate(home,Screen Transition.None)
@tommasogiorgi Hey,
Why do you have a complex filter in the Remove function? What are you trying to achieve?.
All you need is: Remove(carnet_soci, Gallery.Selected); Navigate(home,Screen Transition.None)
Example: Remove(Source, Gallery.Selected);Navigate(Home, TransitionType)
If you have a different type of database or have an tenancy overseas in Europe your syntax may be different. I see you using ; (semicolon) in place of , (comma).
Hi @nickduxfield, I've modified the code as you suggested, but the mistake persist. The remove function is working fine, but if I add the navigate instruction, I get the "invalid token" error message. I'v tried both with comma and semicolon:
Remove(carnet_soci;elenco_lezioni.Selected);Navigate(home;ScreenTransition.None)
Remove(carnet_soci;elenco_lezioni.Selected),Navigate(home;ScreenTransition.None)
Any other suggestion?
Best
Hi @nickduxfield, I've solved: the right code is with double semicolon.
Remove(carnet_soci;elenco_lezioni.Selected);;Navigate(home;ScreenTransition.None)
This is the appropiate link: https://powerapps.microsoft.com/en-us/tutorials/global-apps/
Thank you!
in Italy.
Ciao
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.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 358 Most Valuable Professional
11manish 207 Super User 2026 Season 2
MS.Ragavendar 150 Super User 2026 Season 2