cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Advocate I
Advocate I

Edit and View form screen

Hello, I have sql integration with powerapps, New form is working cool to save the data but now i need something to create a list to show the list of records i the sql table and then user can click and view/edit the data from screen so how can we do it . 1. List view screen to display records. 2. Edit the screen 3. View the sreen Thanks, AK
1 ACCEPTED SOLUTION

Accepted Solutions
Super User III
Super User III

Hi Akumar, You would use a gallery or datatable control to show all of the records in the datasource. However, I suggest that you let PowerApps build an app for you so that you could see the commands and controls that you would use. Then adapt them to your own app. Start by going to web.powerapps.com and choose the third option, Make an app from data. Then if your sql connection is not listed, choose New Connection and on the flyout go down the list and choose Sql Server and find your table. PowerApps will make a complete app from your data. including a Gallery screen, a Display screen and an Edit screen. Play around with that a bit to get familiar with the controls and how they work together.

View solution in original post

5 REPLIES 5
Super User III
Super User III

Hi Akumar, You would use a gallery or datatable control to show all of the records in the datasource. However, I suggest that you let PowerApps build an app for you so that you could see the commands and controls that you would use. Then adapt them to your own app. Start by going to web.powerapps.com and choose the third option, Make an app from data. Then if your sql connection is not listed, choose New Connection and on the flyout go down the list and choose Sql Server and find your table. PowerApps will make a complete app from your data. including a Gallery screen, a Display screen and an Edit screen. Play around with that a bit to get familiar with the controls and how they work together.

View solution in original post

Thanks,

We are looking something to present data in tabular format and there each row we can select and then perform edit and view /delete is this possible ?

Not only is it possible, PowerApps will build the whole thing for you.

Community Support
Community Support

Hi @Akumar,

Could you please share a bit more about your scenario?

Do you want to list your SQL table records in tabular format in PowerApps app?

If you want to list your SQL table records in tabular format in PowerApps app, I think the Data Table control could achieve your needs.

Please consider add a Data Table control within the screen of your app, set the Items property to following:

'[dbo].[YourSQLTable]'  /* <-- Type your SQL table data source */

Please check the following video for more details:

https://www.youtube.com/watch?v=fefK35e8Thk

If you want to view a selected record within above Data Table, I think the Display form control could achieve your needs. You could add a Display form control within another screen, set the Item property of the Display form to following:

DataTable1.Selected

Set the DataSource property of the Display form to same data source as above Data Table control.

If you want to edit a selected record within above Data Table, I think the Edit form control could achieve your needs. You could add a Edit form control within another screen, set the Item property of the Display form to following:

DataTable1.Selected

Set the DataSource property of the Edit form to same data source as above Data Table control.

In addition, if you want to delete a selected record, I think the Remove function could achieve your needs.

More details about the Remove function, please check the following article:

Remove function

More details about Data Forms in PowerApps, please check the following article:

Data Forms

 

Best regards,

Kris

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Thank you for your help in this thread @Drrickryp and @v-xida-msft!

 

@Anonymous

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Community Highlights

Community Highlights

Check out the Power Platform Community Highlights

Top Solution Authors
Top Kudoed Authors
Users online (7,713)