p2p.wrox.com Forums

Need to download code?

View our list of code downloads.

  Return to Index  

proasp_howto thread: IsNull() in JScript ?

Message #1 by "Bart D." <bartd@m...> on Tue, 14 Mar 2000 12:53:17
What is translation (VbScript to JScript) of:

    Dim objRs
    Dim strSQL

    strSQL = "select * from TABLE"
    Set objRs = Server.CreateObject("ADODB.Recordset")
    objRs.Open strSQL, strDSN, 1

    if ( IsNull( objRs("field") Then ....

In JScript?

Or simply:
    how do you test for null and / or undefined in JScript

Are there references/manuals covering problems like this in detail?


Bart D.

  Return to Index