[thelist] ASP help

Scott Dexter sgd at ti3.com
Tue Sep 10 23:15:01 CDT 2002


>
> > Turns out the problem is related to the database. Using code below:
> >
> >  If objRs("SubText1") <> "" Or Not IsNull(objRs("SubText1")) Then
> > blnSub1=True
> >  varSub1=objRs("SubText1")

Why not check it in your SQL Statement? >=)

Select ISNULL(SubText1,"value to use if its null") as SubText1 ...

(MSSQL Server syntax above)


sgd



More information about the thelist mailing list