Get SUM of two variables

Sir this is my first post in this community.
I want to get the sum of 2 variables like this
Untitled
But when I click Button1 then it shows 0
Untitled

Please

the code should be in the When button .click event.

1 Like

Dear @Tariq_Mehmood welcome to the Community.

Where have you put these three lines ?
image
If they aren't put into a procedure or coded into an event they will never be executed.
For example put them into the screen1 initialize event and see what happens.
Cheers.

The Textboxes should be set to 'numbers only':

Snap1

The Code could be far more simple:

blocks

SumTextBoxes.aia (1.8 KB)

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.