What you have there is an UNBOUND ole object. It's an object linked to an Excel spreadsheet that produces a pivot table based on the Orders table.
You can try:
where OleObjectName should be substituted for the name of the object.
By the way, in your sample db you called the object PivotTable. That's not a good name because the word "PivotTable" already exists in Access and is reserved for Access and VBA so it will cause a "clash" when used. Call it something else before using the code.
You can try:
Code:
Msgbox Me.[COLOR=Red]OleObjectName[/COLOR].SourceDoc
By the way, in your sample db you called the object PivotTable. That's not a good name because the word "PivotTable" already exists in Access and is reserved for Access and VBA so it will cause a "clash" when used. Call it something else before using the code.