|
Ok, heres what I am trying to do
I have 3 textbox's and 2 combobox's. The user fills in each and clicks a command button to add each to 5 seperate listbox's. I currently have a 'total' label that adds up the contents of one of the listbox's, which is hours. I can select a whole row across the listbox's and delete it, this also updates the total label accordingly.
Now what I need to do is that if Textbox1, combobox1 and combobox2 match a row that already exists, instead of adding a new row in the listbox's I need it to simply add the contents of the hours textbox to the number of hours that was previously entered. Then for the total label to be updated accordingly.
If anyone can do this, I dont think the code will be all that hard just very awkward to get it all right.
Any help would be greatfully appreciated
|