Report Script Using Nested Query

Kathy, thank you for your response. That is the procedure I am following.

My nested query is set up as such

-Lines To Report
-Tag History

My script only has test=data[‘Tag History’].getCoreResults() in it right now and the following message comes up:

‘NoneType’ object has no attribute ‘getCoreResults’

Thanks!