"Richard Mueller [MVP]" <rlmueller-nospam@xxxxxx> wrote in
message news:ee8CVqP8JHA.5400@xxxxxx
Quote:
> The description attribute is a strange one, because technically it is
> multi-valued, even though there is never more than one value. ADO
> retrieves it as an string array with one value, or a Null if there is no
> value assigned.
Sander, to Richard's point, you should probably do an IsArray test before
using the Join method to prevent an exception in the event that it is empty.
sDescription = objRSUserDescr.Fields("description").Value
If IsArray(sDescription) Then
sDescription = Join(sDescription, Empty)
Else
sDescription = Empty
End If
WScript.Echo sDescription