My suggestion would be to get your hands on a copy of the a2003
runtime (or whatever version of access you are developing with). I
not 100% keen on the idea of developing in one version of access,
but deploying to another.
It's a one-form, one-report app. If an MDB developed in A2K3 can't
run reliably in the A2K7 runtime, then the Access development team
has major problems.
Your mileage may vary on this issue, but I was developing in a2003
for a client that was using a2000. I was REALLY amazed at the
number of threading and conditional formatting issues that arose
when I moved my software to 2000.
I just did a conversion from A97 (an app that began life in 1997) to
2003, and it was a nightmare, precisely because of timing issues. In
other words, events don't occur in precisely the same order in A2K3
that they did in A97, and it took me a lot of work to iron out the
problems.
But that was a *very* complex application (not particularly complex
in terms of forms/reports, but with two main forms that were
extremely complex). Compared to what I'm working on right now, it
would be like comparing the space shuttle to a Yugo.
Hence, from 2000 to 2002, then to 2003..a LOT of little quirks
were fixed. If I had been developing in a2000 then some of the
problems would have showed up during testing and I would have
worked around the problems.
Jet 4 is supposed to be a native format for A2K7.
I finally wound up moving that client to the a2003 runtime and
things are now bulletproof stability wise.
Access 2007 had a LARGE AMOUNT code changed as compared to the
previous version of access. I would either upgrade to a2007 (it
only $109), or try to find a runtime for the version you are
developing with now.
There is absolutly nothing complex enough in the app that I'm
developing that would run differently.
In the end, I did get it working, but only after much futzing
around. For one, the custom toolbar I made for print preview had the
CLOSE button on it (grabbed from the built-in print preview
toolbar). It worked a treat in A2K3, but when clicked in the A2K7
runtime, nothing happened. I ended up creating a macro to close the
report and this worked reliably in both. The only remaining
annoyance was with positioning the menu and toolbar, but I finally
got that worked out after much fiddling around.
One last bit:
You gave me the advice to hide the ribbon, but that conflicts with
startup settings if you have "show builtin toolbars" turned off.
With that setting OFF, hiding the ribbon triggered an error,
something like "cannot find toolbar 'ribbon'". Looks like turning
off the builtin Access toolbars in the startup settings would have
done the job without any coding.