Build Form and Connect to Table Data in Power Apps

Introduction

In this article, I have explained how to create a  form and connect it to a table database using power apps.

Once you successfully logged into the app tenant, choose the new app option, click canvas app, and provide the required details like (App name, Description, etc).

Build Form and Connect to table data

Build Form and Connect to table data

Build Form and Connect to table data

Once the app has been created successfully, rename the screen if needed.

Build Form and Connect to table data

Click the first screen to insert the rectangle shape to add the title to the page using properties to change the background color and add icons based on your requirement.

Build Form and Connect to table data

Build Form and Connect to table data

Add the View Icon at the top of the page for the second screen to view the student details.

 Once the design has been completed, we have added the function to navigate to the next screen. (New student Details).

Navigate(Screen2,CoverRight)

Build Form and Connect to table data

Choose the second screen to add the gallery and icon control from the Insert tab.

Add the navigation function to add a user icon like the above navigate function expression.

Build Form and Connect to table data

Then create the table to store the data, then design the custom form.

Build Form and Connect to table data

Once the table has been created successfully, it will display all the default columns, we can modify the columns based on our project requirements.

Build Form and Connect to table data

Click on the insert tab to choose edit form and add data from the (student details) table.

Build Form and Connect to table data

Once the form was created, click on form1 and go to properties. Choose the Default mode on New.

Build Form and Connect to table data

Then insert the save Icon and write the function for saving the form data in the table.

Update the expression in the icon OnSelect mode.

SubmitForm(Form1)

Build Form and Connect to table data

Next, navigate to screen 2; on the gallery page, you have to assign the format of view content and add the data source.

Build Form and Connect to table data

Click save and publish.

Run the application. The output page seems like the below screenshot.

Build Form and Connect to table data

Build Form and Connect to table data

 

 

Build Form and Connect to table data

Build Form and Connect to table data

Keep smiling always!


Similar Articles