02-18-2019
10:33 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
02-18-2019
10:33 PM
How about changing the lines to get parent like this:
If Level >1 Then oParent = System.IO.Path.GetFileNameWithoutExtension(oOcc.ParentOccurrence.Name ) Else oParent = System.IO.Path.GetFileNameWithoutExtension(oOcc.Parent.Document.DisplayName) End If

Jane Fan
Inventor QA Engineer