Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
JaneFan
in reply to: RoyWickrama_RWEI

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