Invalid use of Null Replace
Posted on 2006-05-10
I have a results page where I want to display memo fields with the original formatting, (Line spacing)
The code below works OK until it comes to an empty field.
'replace spaces and put breaks
strText = (rsUpdate.Fields.Item("SkillsRequired").Value)
strText = replace(strText,VbCrLf,"<br>")
Then I get this error.
Invalid use of Null: 'Replace'
/britishconsultancy/Assign-COMPLETED/print.asp, line 755
Can anyone tell me what code to use to avoid the error please.