[AccessD] vb.Net - Checking for NULL values

Stuart McLachlan stuart at lexacorp.com.pg
Mon Jun 12 23:16:32 CDT 2006


On 13 Jun 2006 at 16:09, David Emerson wrote:

> Hi Darren,
> 
> My code is not in SQL but in VB.net.  It doesn't recognise Is Null
> either.

Try either:
        Dim MyNull As System.DBNull
       ...
        If Session("ItemAmt") Is MyNull Then
  
or:
   If Session("ItemAmt") Is Nothing Then





More information about the AccessD mailing list