p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   .NET Framework 1.x (http://p2p.wrox.com/forumdisplay.php?f=203)
-   -   Filling a form in VB.Net (http://p2p.wrox.com/showthread.php?t=78146)

Khalil February 9th, 2010 10:33 PM

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

All times are GMT -4. The time now is 03:36 PM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.