By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,401 Members | 803 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,401 IT Pros & Developers. It's quick & easy.

entering multiple values in text box?

P: 6
How do I enter one or more amounts in a text box, each followed by the enter key? I want to assign each one a variable and then calculate the total and average. Thanks!
Mar 24 '14 #1
Share this Question
Share on Google+
3 Replies


100+
P: 294
Can you elaborate on what you're trying to do, with a little more detail? Provide an example, maybe?

You're trying to enter one or more amounts.. in the same text box? In different text boxes? Assigning a variable to the value in a text box is easy, but I'm not sure if that will fully answer your question.
Mar 25 '14 #2

P: 6
i want to assign multiple textbox values to variables(in the same text box) and to store each one after i press the enter key. for example "13.4 [ENTER] 99 [ENTER] 13.333 [ENTER] 70 [ENTER] 13243 [ENTER]"
Mar 25 '14 #3

100+
P: 294
Very interesting. I'm not sure if that's possible - otherwise I would love to help.

I know you can delimit arrays of text, but as far as assigning the .Text value of a text box to different variables. I'm not sure.

They would all have the same value because they all have the same reference point and are being handled the same way.

The only thing I can think of is using different handlers, aside from delimiting.

Sorry!
Mar 25 '14 #4

Post your reply

Sign in to post your reply or Sign up for a free account.