You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
title: Show, edit, or add a record from a table in a canvas app | Microsoft Docs
2
+
title: Show, edit, or add a record in a canvas app | Microsoft Docs
3
3
description: Use a canvas-app form to show, edit, or add a record from a table in your data source.
4
4
author: emcoope-msft
5
5
manager: kvivek
@@ -14,95 +14,86 @@ search.audienceType:
14
14
search.app:
15
15
- PowerApps
16
16
---
17
-
# Show, edit, or add a record from a table in PowerApps
17
+
# Show, edit, or add a record in a canvas app
18
18
19
-
To show all fields in a record, add and configure a **[Display form](controls/control-form-detail.md)** control in a canvas app. To edit any field in a record (or to add a record) and save your changes back to a data source, add and configure an **[Edit form](controls/control-form-detail.md)** control in a canvas app.
19
+
In a canvas app, add and configure a **[Display](controls/control-form-detail.md)**form control to show all fields in a record, You can also add and configure an **[Edit](controls/control-form-detail.md)**form control to edit any field in a record, add a record, and save your changes back to a data source.
20
20
21
21
## Prerequisites
22
22
23
-
* Learn how to [add and configure a control](add-configure-controls.md) in PowerApps.
24
-
* Download [this Excel file](https://az787822.vo.msecnd.net/documentation/get-started-from-data/FlooringEstimates.xlsx), which contains sample data for this tutorial.
25
-
* Upload the Excel file to a [cloud-storage account](connections/cloud-storage-blob-connections.md), such as OneDrive for Business.
26
-
* In a new or existing app, [add a connection](add-data-connection.md) to the **FlooringEstimates** table in the Excel file.
27
-
* If you're using an existing app, [add a screen](add-screen-context-variables.md) to it.
23
+
- Learn how to [add and configure a control](add-configure-controls.md) in PowerApps.
24
+
- Download [this Excel file](https://az787822.vo.msecnd.net/documentation/get-started-from-data/FlooringEstimates.xlsx), which contains sample data for this tutorial.
25
+
- Upload the Excel file to a [cloud-storage account](connections/cloud-storage-blob-connections.md), such as OneDrive for Business.
26
+
- Create or open an app for phones, [add a connection](add-data-connection.md) to the **FlooringEstimates** table in the Excel file.
28
27
29
-
## Add a form, and show data
30
-
1. Add a **[Drop down](controls/control-drop-down.md)** control, name it **ChooseProduct**, and set its **[Items](controls/properties-core.md)** property to this value:
28
+
You can add a form to a tablet app, but it won't match this topic because the form will have three columns by default.
29
+
30
+
- If you open an existing app, [add a screen](add-screen-context-variables.md) to it.
31
31
32
-
**FlooringEstimates.Name**
32
+
## Add a form, and show data
33
+
1. On a blank screen, add a **[Drop down](controls/control-drop-down.md)** control, and name it **ChooseProduct**.
33
34
34
35
> [!NOTE]
35
36
> If you're not sure how to add a control, rename it, or set a property, see [Add and configure controls](add-configure-controls.md).
36
37
38
+
1. On the **Properties** tab of the right-hand pane, set **Items** to `FlooringEstimates` and **Value** to `Name`.
39
+
40
+

41
+
37
42
The list shows names of flooring products from the data source.
38
43
39
-
2. Add an **Edit form** control, move it below **ChooseProduct**, and then resize the form to cover most of the screen.
44
+
1. Add an **Edit** form control, move it below **ChooseProduct**, and then resize the form to cover most of the screen.
40
45
41
46

42
47
43
48
> [!NOTE]
44
-
> This topic describes the **Edit form** control, but similar principles apply to the **Display form** control.
49
+
> This topic describes the **Edit**form control, but similar principles apply to the **Display** form control.
45
50
46
-
3. Set the **[DataSource](controls/control-form-detail.md)** property of the form to **FlooringEstimates** and the**[Item](controls/control-form-detail.md)** property of the form to this formula:
51
+
1. Set the form's **[DataSource](controls/control-form-detail.md)** property to **FlooringEstimates** and its**[Item](controls/control-form-detail.md)** property to this formula:
0 commit comments