The DoCmd object also manages all
the UI elements like OpenForm and
OpenReport, Close, and so on which
are obviously neccessary to make
anything appear on the screen. You are
quite right, it would not be much of
an application without them. Then again,
these all have to be replaced as part
of migrating to VB too.
Certainly they would have to be replaced, and the lack of a good replacement
has been one of the drawbacks to converting.
On the other hand, for applications suitable for implementation in Access,
there is usually little benefit to expending the effort to convert to
classic VB (and questionably, as yet, to VB.NET). In fact, I did a
presentation on using Access or (classic) VB as a front-end to databases for
my user group -- it can be downloaded from
http://appdevissues.tripod.com/downloads.htm . My conclusion was that there
are a few very specific needs that would make VB a better choice, all
unusual for what I perceive to be "normal business database applications".
They are sufficiently unusual that I haven't run across any of them in my
work since I left the mainframe world in 1991.
I've used classic VB since v 1.0, but not for database applications.
Thanks for the correction.
Not intended as a "correction", just an observation.
Larry Linson
Microsoft Access MVP