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 / Detail Screen/Edit Scr...
Power Apps
Unanswered

Detail Screen/Edit Screen not showing all records from SQL (not writing back to SQL)

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello,

 

I am having a hard time figuring out why my data in detail screen goes blank whenever I enter in data and submit form (it would show data on the detail screen, but when I refresh the page, it disappears).

Another issue is that it's not writing back to SQL, but I can update SQL and it updates on the app. (Doesn't show data in the columns)

I did my best to match datacardvalues back to the correct datacard between edit screen and detail screen. I could be missing something and probable overlooked it.

*Note: DateModified is blank because I was testing which columns would update from SQL.

Any ideas would be much appreciated. 

 

Thanks,

 

Jvang

 

After Entering DataAfter Entering DataAfter Refreshing PageAfter Refreshing PageData in SQLData in SQL

 

Categories:
I have the same question (0)
  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @Anonymous 

    What is the Item property of the forms you are working with?

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @RandyHayes,

     

    I have BrowseGallery1.Selected.

     

    Thanks,

     

    Jvang

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

    @Anonymous 

    How are you selecting records in the BrowseGallery1 gallery?  An icon or something else?

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @RandyHayes,

     

    I have an arrow icon

     

    test.PNG

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @RandyHayes,

     

    The OnSelect: Navigate(DetailScreen,ScreenTransition.None, { Variable: ThisItem })

     

    Thanks,

     

    Jvang

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

    @Anonymous 

    So if you are passing a context variable in your navigate.  That should be the Item property of your Form.

    Then in your OnSuccess action of the Form, set the formula to:

    UpdateContext({Variable: Self.LastSubmit})

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @RandyHayes,

     

    I shows the data entered but doesn't show data within SQL and still isn't writing back to SQL.

     

    Thanks,

    Jvang

     

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

    @Anonymous 

    So there is a lot of discovery needed for those statements!!

     

    First, you say it is not writing to the SQL table.

    Going to need to know then:

    - What is the Datasource of your Form?

    - What is the DefaultMode of your Form?

    - How do you submit the form, and what is the formula you use to do so?

    - Have you modified any Update properties of any datacards?

     

    You say it is not showing any data:

    - Are you referring to AFTER you submit a form?

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @RandyHayes,

     

    The DataSource is coming from SQL table Bincount

    The DefaultMode on EditForm is edit 

    I use a save icon to submit form (submitform(editform))

    I haven't modified any datacards in editform.

    Data isn't showing when I open up the app, and after I submit the data.

     

    Thanks,

    Jvang

     

    2.PNG3.PNGtest.PNGtest3.PNGTestLabPA.PNG

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

    @Anonymous 

    Okay...then if you're in Edit mode, what is the Item property of the form?  Is it Variable like we discussed before?

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 883

#2
Valantis Profile Picture

Valantis 571

#3
11manish Profile Picture

11manish 477

Last 30 days Overall leaderboard