I have this property in a Class in script library:
[Property Get ViewSelectedUnIds
If IsEmpty(Me.vViewSelectedUnIds) then
Me.vViewSelectedUnIds = Split( Me.doc.GetItemValue(“REQUEST_CONTENT”)(0), “&%24%24SelectDoc=” )
Me.vViewSelectedUnIds(0) = Replace( vViewSelectedUnIds(0), “%24%24SelectDoc=”, “” )
End If
ViewSelectedUnIds = Me.vViewSelectedUnIds
End Property]
When I try to use it this way:
[ForAll unid in DocumentContext.ViewSelectedUnIds]
I get type mismatch error when trying to use “unid”. When I added some print lines I noticed that elements in Me.vViewSelectedUnIds are OK and data type 8 (String). But when I’m calling this property, “unid” has data type 186 which help does not recognize.
Looks like a bug to me. Any ideas?
thanks,
- Panu