|
-
Feb 1st, 2005, 07:40 PM
#1
Thread Starter
Junior Member
Select Case Statement
Using a Select Case Statement to determine customer's Status. Either Retail or wholeSale. is the correct code
VB Code
----------------
Private Sub ProcessOperationRadioButtons(ByVal sender As Object, ByVal e As System.EventArgs) _
Handles WholeRadioButton.Click
Dim intRetail, intWholesaler As Integer
'display appropriate operator
Select Case True
Case 1
Me.WholeRadioButton.Checked = intWholesaler
Case Else
Me.RetailRadioButton.Checked = intRetail
End Select
End Sub
---------------
end code
Last edited by terrytemes; Feb 2nd, 2005 at 05:25 AM.
Reason: resolved
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|