Hi folks,
I have a head scratcher here.
I'm using Access 2010 on a Win7 box. The DBs are in the accdb format.
One DB uses the AutoExec macro to display a form on opening. Works just fine.
In another DB, I wanted to add a form to appear upon opening. So I created the AutoExec macro similar to the working DB. The only difference was the form name I wanted to open. But when I open this DB I get an error saying it can't find the StartApp() function. All the references are identical in the two DBs.
This attachment is a zipped docx file showing the two AutoExec macros; one that fails and one that works.
AutoExecError.zip
Any help is greatly appreciated.
Vic