admin
-
12/27/2005 6:24:45 PM
Re: Relationships
Hi Antony,
yes, you can do that using the code like this:
Dim tree As TreeProvider = Functions.GetTreeProvider Dim ds As DataSet = tree.SelectNodes("/%", TreePathTypeEnum.AliasPath, "", "", "", -1, True, CType(Functions.GetCurrentDocument.GetValue("NodeID"), Integer), "myrelationship", False) If ds.Tables(0).Rows.Count > 0 Then 'there is at lease one related document End If
Should you need any additional details, please feel free to ask.
Best Regards,
|