Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21089

How to Ensure all dbGrid control fields are filled before exiting

$
0
0
I have a database grid control = dbGrid1 and its linked to an Access database

It returns all current fields in the database but I want them to be able to delete and change anything that is displayed as well as add new records.
They can do all of this with the control that I have setup.

One problem:
They can leave fields blank which will cause my other program to error out when it tries to retrieve the required fields
Just to clarify, I want to be able to check all fields and return a msgbox stating that all fields need to be completed.

I want to retain the dbGrid control instead of resorting to text boxes because the users are more comfortable with an excel setting and want to see all of the fields on one page.

Any help would be appreciated.
Thank you

Viewing all articles
Browse latest Browse all 21089

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>