Results 1 to 5 of 5

Thread: Looping through controls looking for nulls

Threaded View

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Apr 2003
    Location
    Three Rivers, MI
    Posts
    354

    Looping through controls looking for nulls

    I have a form with 15 text boxes on it. I am looking for an efficient way to loop through all the text boxes looking for nulls before I commit a DB transaction.

    I know I can do a series of IF Thens but there has to be a better way. I assume there is a way to loop through the controls so I am looking for a sample that will help me et started. Also is it possible to send the focus to the first textbox error found in the loop?
    Last edited by BukHix; Nov 6th, 2003 at 01:24 PM.

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