Skip to content

Commit a62db39

Browse files
fix control reference
1 parent 47a4218 commit a62db39

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

powerapps-docs/maker/canvas-apps/working-with-variables.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ Let's rebuild our adding machine by using a global variable:
100100

101101
3. To update the running total whenever a user selects the **Add** button, set its **[OnSelect](controls/properties-core.md)** property to this formula:
102102

103-
**Set( RunningTotal, RunningTotal + Text1 )**
103+
**Set( RunningTotal, RunningTotal + TextInput1 )**
104104

105105
The first time a user selects the **Add** button and **[Set](functions/function-set.md)** is called, **RunningTotal** is created with a default value of *blank*. In the addition, it will be treated as a zero.
106106

@@ -163,7 +163,7 @@ Let's rebuild our adding machine by using a context variable:
163163

164164
3. To update the running total whenever a user selects the **Add** button, set its **[OnSelect](controls/properties-core.md)** property to this formula:
165165

166-
**UpdateContext( { RunningTotal: RunningTotal + Text1 } )**
166+
**UpdateContext( { RunningTotal: RunningTotal + TextInput1 } )**
167167

168168
The first time a user selects the **Add** button and **[UpdateContext](functions/function-updatecontext.md)** is called, **RunningTotal** is created with a default value of *blank*. In the addition, it will be treated as a zero.
169169

0 commit comments

Comments
 (0)