Re: testing for "" blank nulls by William
William
Mon Apr 26 15:03:46 CDT 2004
I'm guessing you mean on the DB side vs DataTable.Select. Anyway, the
syntax is checking for '' (single quotes) or IS NULL (in access ISNULL
returns true or false if you don't put a space, it's a function instead of a
condition so make sure you use two words).
In general, client side if you want to test for '' use string.Empty.
HTH,
BIll
"Tony" <Tony_NOPE_Mast@MSN.Com> wrote in message
news:#UXBah8KEHA.3712@TK2MSFTNGP11.phx.gbl...
> vs 2002/xp pro/win forms/MS access 2002
>
> I want to query my database where fieldA = "" (Blank)
>
> Select MYDB where fieldA = "" or Blank or Null
>
> What is the correct syntax for checking for "" blanks nulls
> thanks
>
>