How to get the value of a combobox

0

Good afternoon I have a question about the use of values in the combo box. In the combobox I have to show the names of the coffee and accessory, but the value it takes is its id.

Something like this:

Well, what I'm trying to achieve is that from these 2 values selected in the combobox the text field gets the value of the sum of both prices of the selected coffee and accessory.

I have programmed the calculation button that allows you to calculate the total (even without the discount part)

The problem comes at the moment of obtaining the price of the coffee or article, since it takes the value of the selected record, but does not obtain the price

Will I have a problem with the way I try to get the price or with the stored procedure?

    
asked by Enrique Cañedo 26.11.2017 в 01:43
source

0 answers