This:
If Not IsDBNull(jNull("JNum")) Then
Seemed to work, But now I am getting:
System.InvalidOperationException: Invalid attempt to read when no data is
present
I'm assuming this is because the value is Null... Anymore Ideas?
"z. f." <zi**@info-scopeREMSPAM.co.il> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
any problems with
IsDBNull ( value )
?
"Jos" <jo***************@fastmail.fm> wrote in message
news:%2***************@tk2msftngp13.phx.gbl... "Randy Rubin" <ra***@imarubin.com> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl... How do I handle Testing for null values in a database? Here is a Line of Code:
If Not jNull("JNum") Is DBNull Then
And this is the Error:
BC30684: 'DBNull' is a type and cannot be used as an expression.
If ( TypeOf jNull("JNum") Is DBNull ) Then
Jos