Hello all, i want to add the numbers in two labels and get the end in one label.
I want that every time i add quantity and press submit to add that number to the label on the stock page. I want to add them like it's 5 in quantity, it should add 5 with 7 and the result will be 12 where the 7 label is. Thank you in advance
I'm not sure I completely understand your question, so I'll offer a couple of suggestions:
You can reference the Text property of individual labels and do math by ensuring they are numbers with the Value() function: In the Text property of a third label, put a statement like such as
Value(Label1.Text) + Value(Label2.Text)
In your app, is the left-hand list of items part of a gallery control? If not, then it should be. The gallery would be tied to an underlying datasource through its Items property. If you make edits to the datasource, for example adding quantities, then those can be reflected in the gallery automatically.
Hope that helps,
Bryan
User | Count |
---|---|
260 | |
109 | |
93 | |
57 | |
41 |