DBinPhilly
08-24-2011, 06:14 AM
A program that I developed originally in Access 97 and migrated through Access 2000 and Access 2003 has developed a bug using Access 2010.
There is a sign on screen named "UserSignOn" that I also use as a repository for variables that are used in various programs --- for example I pass SQL statements with variables to fields on the "UserSignOn" screen and use those fields as the record sources for certain other forms and reports.
When I execute DoCmd.Quit from anywhere in the database except the "UserSignOn" screen (or even click the "X" in the upper right to close the database), I get the following error message:
programname Cannot Find the referenced form "UserSignOn"
I might note that the error message appears even when I haven't used any of the references loaded in the "UserSignOn" screen. And the "UserSignOn" screen remains open at all times until the program closes.
Just by responding to the error with "End" the program closes, but it is annoying for my users. Any ideas?
There is a sign on screen named "UserSignOn" that I also use as a repository for variables that are used in various programs --- for example I pass SQL statements with variables to fields on the "UserSignOn" screen and use those fields as the record sources for certain other forms and reports.
When I execute DoCmd.Quit from anywhere in the database except the "UserSignOn" screen (or even click the "X" in the upper right to close the database), I get the following error message:
programname Cannot Find the referenced form "UserSignOn"
I might note that the error message appears even when I haven't used any of the references loaded in the "UserSignOn" screen. And the "UserSignOn" screen remains open at all times until the program closes.
Just by responding to the error with "End" the program closes, but it is annoying for my users. Any ideas?