Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

why it lets blank fields in the table

Status
Not open for further replies.

iffoiffy

Programmer
Feb 24, 2005
67
CA
Hi,

In the table for my fields even if I pick the option
"do not alow null". I noticed when I save the tables with out entering anything in the fields it let me save with out promting me and saying "null not allowed"

I belive in some other databases if you have picked "not null" for a field and try to save it with out entering anything it will not let you save........


Thanks
 
If you are dealing with a string field, you might actually be saving a zero length string which is different from null even though both of those things would be "blank" to us.

You might also want to check the database table from the command prompt and verify that the rows are actually added. Your client driver might be ignoring the error that occurs.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top