Results 1 to 3 of 3

Thread: If...Then Statement Trouble *RESOLVED*

Threaded View

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    May 2004
    Posts
    131

    Question If...Then Statement Trouble *RESOLVED*

    How do I get this If...Then statement to work only when a radio button (radCheck) is checked?? Here's my code..
    VB Code:
    1. If txtTransaction.Text > txtDeposits.Text Then
    2.                 MessageBox.Show("$25 service charge applied.", "Insufficient Funds Penalty")
    3.                 txtCharges.Text = (CH).ToString("c")
    4.                 txtTransaction.Focus()
    5.             End If

    It is doing it everytime, but I only want it to execute if radCheck.Checked
    Last edited by twisted; Jun 14th, 2004 at 08:58 AM.
    Twisted

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width