So, unless I'm going about this the wrong way, I would like the ability to change an input from a text box to an integer. Right now when I have 25 yards and add 16 yards to it, I get an integer added to a string and end up with 2516 yards, which is super impressive for 1 play, but not so great with accurately tracking what happened!
The parameter for the input text box I'm using is not specifically designated as an integer because as soon as I do that I have to have a default value of [some integer] and that requires my operator to highlight the number and then start typing instead of clicking in the empty text field and typing. In fast-moving sports, that's not gonna be fast enough and I don't want the last number in the text box to be accidentally added on to the new value!
So another solution to this problem, in this case, would be some way of making an integer parameter set to null and not have anything in the text field by default. Then on my "submit play" button that performs all my math for that play, I can also set the integer parameters to null and the boxes would be empty ready for the next play.
Are either of these ideas possible? Visual logic preferred, but not necessary!
Thanks! Any help would be greatly appreciated!