You can try by first declaring a temporary variable "ProdTotal" when you open your application
Code:
TempVars.Add "tv_ProdTotal", "0"
Then, when you click on either the '+1' or '-1' buttons, increment or decrement tv_ProdTotal as needed.
cmd_Plus_1:
Code:
TempVars!tv_ProdTotal.Value = TempVars!tv_ProdTotal.Value + 1
cmd_Minus_1:
Code:
TempVars!tv_ProdTotal.Value = TempVars!tv_ProdTotal.Value - 1
When you click on Submit you Open the second form and simply copy the value of tv_ProdTotal to your 'Amount Taken' textbox then clear the value of the temporary variable:
Code:
tbx_AmountTaken.value = TempVars!tv_ProdTotal.value
TempVars!tv_ProdTotal.Value = 0