The other thing to do is just append an emptystring ie:
if (objrs("Street1") & "" = "") then
chkVal = "None"
''etc..
what it does in asp is force it to be a string regardless if it's an nul value in the recordset column and it also saves not having to do two checks for empty values ie:
if isnull(objrs("Street1")) or len(trim(objrs("Street1"))
chkVal = "None"
'etc
CooPzZ
Main Topics
Browse All Topics





by: sajuksPosted on 2005-03-22 at 02:56:22ID: 13599575
thst should've worked...what value do you get for that field ( or its length ) ?
what if u try
If IsNull(objrs("Street1")) = True Then //null