Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21238

Help with codes!

$
0
0
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

Viewing all articles
Browse latest Browse all 21238

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>