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

Null Field Optimization

$
0
0
So I finished up this program and it is working good with on exception.

Empty fields and Access Database with VB6 Listview..

I can add, edit, delete and search.. However at first when I started adding new records with empty fields it would break the program and stop at that field when showing it in the listview. So I overcame that by adding default text of N/A in each text field and I told the data person not to leave any fields empty. I know there is an IF statement I can stick in a couple places to do with in the background but I am just not sure how. Looking for a little help on this one to get the program updated where it doesnt have to display N/A and handles the null values in the background.

My second question is how do I make the tab feature also highlight all the text in the field that you tab to?

Here is my program code to view..

www.sbsracing.net/dtv-summ.zip

Thanks again! still learning.. but gaining on it..

Viewing all articles
Browse latest Browse all 21237

Trending Articles



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