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