G
Guest
I have six checkboxes so I went to see it and os them are checked and if so
add 50 to the total
heres my code
Dim arrchecks(6) As CheckBox
arrchecks(0) = Me.chkChicken
arrchecks(1) = Me.chkMushrooms
arrchecks(2) = Me.chkPepperoni
arrchecks(3) = Me.chkECheese
arrchecks(4) = Me.chkHam
arrchecks(5) = Me.chkPeppers
For Each chk As CheckBox In arrchecks
chk.CheckState = CheckState.Checked
total = +50
Next chk
I know I am doing something wrong
Thanks
add 50 to the total
heres my code
Dim arrchecks(6) As CheckBox
arrchecks(0) = Me.chkChicken
arrchecks(1) = Me.chkMushrooms
arrchecks(2) = Me.chkPepperoni
arrchecks(3) = Me.chkECheese
arrchecks(4) = Me.chkHam
arrchecks(5) = Me.chkPeppers
For Each chk As CheckBox In arrchecks
chk.CheckState = CheckState.Checked
total = +50
Next chk
I know I am doing something wrong
Thanks