Hi, I am using 2 list boxes with 4 values in each. I want to create an action when a button is pressed on the form which will be something like this:
If(value of list box1 is 1 and value of list box2 is 1)
{
total = total + 1;
}
elseif(value of listbox1 is 1 and value of listbox2 is 2)
{
total = total + 2;
}... and so on
anyway thats what I want to happen, but Iv tried a few things, and none have worked. All I want to do is check the value of my list boxes then increase a variable by a certain amount. I have declared my total variable but I cant get it to work, if anyone has a solution it would be great.
Cheers