Wrox Programmer Forums
.NET Framework 1.x For discussing versions 1.0 and 1.1 of the Microsoft .NET Framework.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the .NET Framework 1.x section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old February 9th, 2010, 10:33 PM
Authorized User
Join Date: Dec 2009
Posts: 69
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem filling up a form Tomi Struts 0 July 8th, 2008 03:44 AM
how to set a form as startup form in vb.net 2.0 mallikalapati .NET Framework 2.0 1 February 21st, 2008 09:19 AM
Urgent VB form Migration to VB.net form kvenkat_2k1 Pro VB.NET 2002/2003 1 December 7th, 2005 04:58 PM
Auto Filling Combo on Form penta Access 2 December 3rd, 2004 06:14 AM

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