web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / delete and edited reco...
Power Apps
Answered

delete and edited record not updating in filtered records

(0) ShareShare
ReportReport
Posted on by 74

Hi,

      I have come across a strange problem, I have two search buttons with OnSelect property as

                                  Set(srch,Sort(Filter('[dbo].[PSA2AC]',ACSearchInput.Text in ACProject),ACProject)) for one and OnSelect property as               Set(srch,Sort(Filter('[dbo].[PSA2AC]',PSASearchInput.Text in PSAProject),PSAProject))

 

GalleryItems :   If(IsBlank(ACSearchInput.Text)&&IsBlank(PSASearchInput.Text),Sort('[dbo].[PSA2AC]',ACProject),srch)

 

But when I serach for record and some values show up in gallery when I edit or delete them for filtered records,they donot updated automatically after editing or deleting, even after deleting it will still show in the flltered gallery,so here user thinks he has han't deleted the record and same for the editing also,

 

I would like to know how they get updated instantly , I tried Refresh of database after deletion and editing but it doesn't work.

 

For example you can see from the screenshot I have searched for record and when I edit one record and save it from the search results the record doesn't get updated automaticallyCapture7.PNG

 

Categories:
I have the same question (0)
  • summitb Profile Picture
    2 on at

    Maybe there is an issue refreshing the data. Is the changes reflected in the main datasource. If it's changing in the main datasource then try putting using refresh script before the page loads.

  • Verified answer
    kullurumanoj Profile Picture
    74 on at

    Found other way of doing it

     

    Gallery :

    SortByColumns(If(IsBlank(ACSearchInput.Text) && IsBlank(PSASearchInput.Text),'[dbo].[PSA2AC]',Filter('[dbo].[PSA2AC]', ACSearchInput.Text in ACProject, PSASearchInput.Text in PSAProject)),"ACProject")

     

    Thanks

    Manoj

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.

Helpful resources

Quick Links

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 491

#2
WarrenBelz Profile Picture

WarrenBelz 407 Most Valuable Professional

#3
11manish Profile Picture

11manish 331

Last 30 days Overall leaderboard