When I began adding fields to the data collection I did not have the Automatic Scripting box checked. I always use automatic scripting for the bar code but even after I checked that box I still kept receiving the error message "Your script uses objects from a non-existent collection." I thought that checking the automatic scripting box and adding an assigned data collection would resolve this issue. It did not. What's the deal?
I just started working on a newly imported form (original was a Word docx) and the same error has occurred. I created an object collection and added one object to see if that would make the error go away but it hasn't.