Hey guys here is the problem I have two variables that need their values switched , but only if the value stored in the first is less than the value stored in the second. Tried a couple of things, but am at a brick wall, I am a newbie to VB.
Public Class Form1
Private Sub btnCheck_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnCheck.Click
Dim getMarySales As Integer
Dim getJeffSales As Integer
If getMarySales < getJeffSales Then
getJeffSales = txtGetMarySales.Text
getMarySales = txtGetJeffSales.Text
End If
End Sub