Expand|Select|Wrap|Line Numbers
- If CHKcat1.Value = 1 Then
- LBLprice.Caption = "£20"
- LBLinfo.Caption = "Hello"
- Else
- LBLprice.Caption = ""
- LBLinfo.Caption = ""
- LBLpxvat.Caption = ""
- LBLtotalprice.Caption = ""
- End If
- If CHKcat1.Value = 1 Then
- LBLtotal.Caption = ""
- Else
- LBLtotal.Caption = ""
- End If
----
I have 2, first you select the event, then it brings you to the booking form, so I want it so that when an event is selected the price of the tickets(categories)
Would I have to edit each category so, CHKcat1 would have to be(I dont know the code correctly)
If event1.value = 1 and CHKcat1.Value = 1 Then
LBLtotal.Vaption = "50"
End if
but wouldnt i need to set every event in each category like
If event2.value = 1 and CHKcat1.Value = 1 Then
LBLtotal.Vaption = "50"
End if
If event3.value = 1 and CHKcat1.Value = 1 Then
LBLtotal.Vaption = "50"
End if
etc
But obviously VB won't recognise that, so wondering if anyone would know the solution?