View Single Post
  #1 (permalink)  
Old February 9th, 2010, 10:33 PM
Khalil Khalil is offline
Authorized User
Points: 378, Level: 6
Points: 378, Level: 6 Points: 378, Level: 6 Points: 378, Level: 6
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Dec 2009
Posts: 67
Thanks: 6
Thanked 0 Times in 0 Posts
Default Filling a form in VB.Net

I have a window form with ten fields attached to the form, where the user will be required to fill in each field, and then the entered data will be transferred to an Access file using OleDbConnection.
In case if the user misses one or more field, a message will be displayed prompting to fill in every field. Up to this point my code is working fine but then the problem is that my code does not allow the user to fill in the empty field/s because the form dissapears. In other words, when I click the O.K button that is sitting on the form, the form dissapears and the message is displayed. Obviously the user is unable to fill the missing data since the form has gone.

I wish to show the user all empty fields and let him complete the task before execution is complete.

I hope you can help me.

Thanks and regards
Khalil
Reply With Quote