Assigning or setting a string equal to a specific number
Basically, I have a list box with different items that can be selected. Each item is alloted a particular price. Each time a item is "purchased" I need to tally the quantity and add up the total (price). In this situation, how do I assign a numerical value (the price) to each item in the list box so that I can have the program tally and add up the total?
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Manikavelu VelayuthamRank #413 · 6K reputationPosted Sep 29, 2010, 9:14 PM EDT
1. Value Field - Here you can maintain the quantity field
2. Text Field - Her you can maintain the Items Name
Gomathi PalaniswamyRank #714 · 3.3K reputationPosted Sep 29, 2010, 9:23 PM EDT
Write the coding in list box item selection changed and update the values in database.
Sam HobbsRank #107 · 20.5K reputationPosted Sep 30, 2010, 2:21 PM EDT