@erictgrubaugh - Thanks, Eric! I knew that... what I'm trying to do is pull data from two records in the same document. I'm back to working on XML to PDF. I have a custom record that I want to look beautiful instead of the cheesy NS version of print. My custom record allows the user to select a vendor which pulls into to my XML to PDF js file--I then need to use that var to pull the real vendor information from 'vendor'.