Dim Band(1 To 10) As String
Dim TotalTickets As Long
Dim X As Integer
Dim SoldOut As Boolean
Dim TicketsSold(1 To 10) As Integer
Dim Counter As Integer
Private Sub cmdSoldOut_Click()
Counter = 1
Counter = Counter + 1
If TicketsSold(Counter) = 13000 Then
SoldOut = True
If True Then
txtSoldOut = "Sold Out"
Else
SoldOut = False
If False Then
txtSoldOut = "Not sold out"
Do
Loop Until SoldOut = True Or Counter = 10
End If
End Sub
2006-10-08
07:01:31
·
3 answers
·
asked by
Anonymous
in
Computers & Internet
➔ Programming & Design