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 / Issue with viewing rec...
Power Apps
Answered

Issue with viewing records on detail/edit screen

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello,

 

I am having an issue on viewing most of my data on my Detail/Edit screen.

It does write back after I submit it, just not able to see the data after submitted.

Let me know if you need other info to better understand the issue.

 

EditForm:

DataSource: SQL Table

OnSuccess: Back()   [But doesn't go back to the detail screen - would probably have to add navigate]

Item: BrowseGallery1.Selected

Save Button: Save icon (SubmitForm(EditForm1)

 

DetailForm:

DataSource: SQL Table

Item: BrowseGallery1.Selected

 

DataCard:

a01b - Text: Partent.Default (Shows data)

a02b - Text: Parent.Default (doesn't show data) - also tried DataCardValue12.Text (still doesn't show data)

 

Thanks,

 

Jvang

 

test3.PNGTestLabPA.PNG

Categories:
  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @Anonymous 

    Change the OnSelect of the BrowseGallery1 icon or button or however you are selecting the item to ADD the following formula:

       Set(glbCurrentRecord, ThisItem)

     

    Then Set the Item property of all of your forms to glbCurrentRecord

    In the OnSuccess of your EditForm1 ADD the following:

       Set(glbCurrentRecord, Self.LastSubmit)

     

    As for the Back() in your OnSuccess...if the screen that brings you to the Edit screen is the detail screen, then Back() should do what you need.  If not, then you are getting to that screen some other way which should be looked at.

     

    I hope this is helpful for you.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @RandyHayes,

     

    It did show all the current records after submit; however, when navigating back to it again or refreshing the page, the DataScreen goes back to the same and wont  show the rest of the records.

     

    Thanks,

     

    Jvang

     

    After SubmitAfter SubmitAfter Refresh/going back to that PNAfter Refresh/going back to that PN

  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @Anonymous 

    How did you get to that screen and what was the formula that took you there?

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @RandyHayes,

     

    I am going from an arrow icon from the BrowseGallery

    OnSelect: Set(glbCurrentRecord, ThisItem); Navigate(DetailScreen1)

     

    Thanks,

     

    Jvang

    test3.PNGTestLabPA.PNG

  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @Anonymous 

    Okay...that is all good.  If that is how you getting to the screen and the Item property of the form is set to glbCurrentRecord, then you should be seeing the data that is in the record.

    So from your message #3, can you explain what you mean by "refresh" and going back to that PN.  What steps are all involved in that in your app?

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @RandyHayes,

     

    After submitting a record it shows all the records, but when I click on the back arrow icon [OnSelect: Navigate(BrowseScreen1, ScreenTransition.None)] back to the BrowseGalleryScreen and then click the PartNumber arrow to navigate back to that PartNumber detail screen, some of the data that was visible after submitting goes missing. 

     

    As to refresh, I am just refreshing the web browser after the saving file.

     

    Thanks,

     

    Jvang

  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @Anonymous 

    I would take refreshing the browser out of the process for the time being and you don't really want to be doing that on your app to begin with.

     

    What is the Items property of the Gallery on your browse screen?

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @RandyHayes,

     

    BrowseGallery:

    Item: SortByColumns(Search([@'[dbo].[bincount]'], TextSearchBox1.Text, "PartNumber","a01b","a02a"), "PartNumber", If(SortDescending1, Descending, Ascending))

     

    Thanks,

     

    Jvang

  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @Anonymous 

    Is bincount the name of the SQL table, or is it a view in SQL?

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @RandyHayes,

     

    It is the name of the SQL table.

     

    Thanks,

     

    Jvang

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 Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 234 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 207 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 169

Last 30 days Overall leaderboard