Hello again,
I have an application where I replicate a form using a collection object using techniques described by Allen Browne http://allenbrowne.com/ser-35.html. In my form closing routine, I dimension a variable called tempForm as Form, then set tempForm = Forms("frmUPCSupportRequest") where frmUPCSupportRequest is the name of the form that was replicated. I can replicate this form up to 5x. The form frmUPCSupportRequest is part of my project, is open, and active but when the line set tempForm = Forms("frmUPCSupportRequest") is executed it produces run-time error 2450 "Cannot find the referenced form "frmUPCSupportRequest". I suspect I'm getting this error because the form name frmUPCSupportRequest has changed and is part of a collection but I don't know how to reference it. I use tempForm elsewhere in my program.