if listview1.listitems.item(listview1.listitems.count).text= txtcode.text then ' the code for update the Quantity ' what should i do if the last item in listview has found in how do i update their quantity. qtyadd = Val(txtqty.Text) + Val(ListView1.SelectedItem.SubItems(2)) subtotaladd = Val(lbltotal.Text) + Val(ListView1.SelectedItem.SubItems(4)) ListView1.SelectedItem.SubItems(2) = qtyadd ListView1.SelectedItem.SubItems(4) = Format(subtotaladd, "###################.00") end if
help me guys

New Topic/Question
Reply



MultiQuote





|