M
Mark Koopman
Is there a quick way to make all textboxes on the screen
equal to null if they are empty? Sometimes they seem to
equal "" instead of Null, and when I try to save the data
to the tables (using ADO), it always says that it can't
save because the field does not allow zero-length
strings. What is the quickest way to check all textboxes
(that are empty) equal Null? Should I loop through the
controls (If TypeOf control Is TextBox And control = ""
Then control = Null), or is there a more efficient way to
do this? Thanks in advance for any suggestions.
Mark Koopman
equal to null if they are empty? Sometimes they seem to
equal "" instead of Null, and when I try to save the data
to the tables (using ADO), it always says that it can't
save because the field does not allow zero-length
strings. What is the quickest way to check all textboxes
(that are empty) equal Null? Should I loop through the
controls (If TypeOf control Is TextBox And control = ""
Then control = Null), or is there a more efficient way to
do this? Thanks in advance for any suggestions.
Mark Koopman