Skip to content

Commit 7db9291

Browse files
authored
Merge pull request MicrosoftDocs#176 from lancedMicrosoft/patch-1
Fix control reference from Text1 to TextInput1
2 parents 47a4218 + c0d9b19 commit 7db9291

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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)