The Daily Static
  The Daily Static
UF Archives
Register
UF Membership
Ad Free Site
Postcards
Community

Geekfinder
UFie Gear
Advertise on UF

Forum Rules
& FAQ


Username

Password


Create a New Account

 
 

Back to UserFriendly Strip Comments Index

Do I need to kill someone at MS? by Nessalc2009-04-02 07:50:29
  1) Access is evil. 2) NULL in Access is even more by bwkaz 2009-04-02 09:03:12
evil. Mostly because it's allowed by default in any field, and half the time if you turn that off for a field, you can't put the empty string into that field. (That might be more related to Access/SQL2005 interaction though. You might always be able to leave the field blank in a bound control if the field is part of a Jet table. Yes, this is retarded: welcome to Access.)

Anyway, it's much simpler if you can stop allowing NULLs in your fields. NULL is not equal to "", and is not LIKE "*" (this is correct!). If a NULL value is included in any comparison, the result is always NULL, and so the comparison never succeeds. (Well, unless the comparison is "X Is Null". That actually always returns a boolean. Anything else, though, returns true/false/NULL, not true/false.)

But between that and the way Access (half the time) doesn't let you enter "" into a field if that field prevents NULLs, I've tried to swear off Access forever. It's been working lately... ;-)
[ Reply ]
    I do have options to use something other than Acce by Nessalc2009-04-02 09:25:21
      If the query is a pass-thru to SQL Server... by wibble2009-04-02 10:04:00
        I'm aware of that by Nessalc2009-04-02 10:38:02

 

[Todays Cartoon Discussion] [News Index]

Come get yer ARS (Account Registration System) Source Code here!
All images, characters, content and text are copyrighted and trademarks of J.D. Frazer except where other ownership applies. Don't do bad things, we have lawyers.
UserFriendly.Org and its operators are not liable for comments or content posted by its visitors, and will cheerfully assist the lawful authorities in hunting down script-kiddies, spammers and other net scum. And if you're really bad, we'll call your mom. (We're not kidding, we've done it before.)