My project runs fine in the IDE and produces a perfect PDF report.

However when I try to compile I get the following error.

---------------------------
Microsoft Visual Basic
---------------------------
Programmatic ID string too long 'TracsDashboard.cAutoRestoreFunctionOnExit'. The Programmatic ID must be 39 characters or less.
---------------------------
OK Help
---------------------------