Results 1 to 3 of 3

Thread: STopping Code

  1. #1

    Thread Starter
    Member
    Join Date
    Dec 2003
    Posts
    55

    STopping Code

    VB Code:
    1. ...
    2.  
    3. If txtdis.text = "" then
    4. msgbox("Sorry No Value Has Been Entered, please check and try again")
    5. [SIZE=3]NEED CODE HERE[/SIZE]
    6.  
    7. End IF
    8.  
    9. ...

    Well what i want to do is when a code running i want it to see if theres a value in the txtdis.text if not it wil show a msg above. well after wer it says need code i need a code to stop reading the action from the command button :/

    if you get i thort it mite b stop but it didnt really work

  2. #2
    PowerPoster hellswraith's Avatar
    Join Date
    Jul 2002
    Location
    Washington St.
    Posts
    2,464
    Put 'Return' right there.

  3. #3
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    VB Code:
    1. Exit Sub

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