I want to now that why doesn't label7 display the Rate when I click Command 3. Label 7 has an integer data from an access database via ADO controller..
Private Sub Command3_Click()
units = Label1.Caption.Value
Select Case units
Case Is > 250
Rate = 3
Case Is <= 250
Rate = 2
Case Is <= 150
Rate = 1
End Select
Label7.Caption = Rate
End Sub
Private Sub Command3_Click()
units = Label1.Caption.Value
Select Case units
Case Is > 250
Rate = 3
Case Is <= 250
Rate = 2
Case Is <= 150
Rate = 1
End Select
Label7.Caption = Rate
End Sub