
Newbie: Why use Access instead of VB to create front end
Quote:
> Could you help out someone who's just starting.
> Why not use Access 97 and VBA code all the time to create a front-end to
> your database system. What do you gain by learning and using VB. Isn't
> easier to create a front-end just using Access? -- Please excuse my
1) Can't produce an executable; there's a runtime vesion of Access you can
distribute if you buy the Developer Edition, but it's essentially a stripped
down version of Access that will result in a larger, more bloated
distribution. Also, some things don't work the same under retail vs. the
runtime version (like toolbars, or code that opens objects in design-mode
behind the scenes).
3) Lack of flexibility. You're pretty much forced into a monolithic MDI app
with Access, while VB gives you far more control over the UI.
4) Lack of full ActiveX control support. I think this has improved some with
later versions, but you still can't expect every control that works in VB to
work in Access, and some that do have reduced funcionality (data-bound
controls in particular).
5) Missing key features such as control arrays, AddressOf operator, ability
to create ActiveX controls and components, plus some advanced string and
formatting functions that have been added with VB6.
6) Reliance on DAO, which is essentially obsolete technology. You can use
ADO in code, but I believe the databound forms and reports still use DAO, so
you're going to have a mixture of the two, which also means you're loading
two separate data access layers. With VB I'd strongly recommend using ADO
for all data access.
7) You have to worry about the fact that Access applications have a tendency
to get corrupt, since your app is actually a database and not an executable.
My guideline would be that a quick-and-dirty throwaway solution for internal
use by someone familiar with databases would be OK to do in Access, but for
an app that is going to be distributed to end users you should use VB (or
VC++, but that's another thread).
Quote:
> ignorance. Also, what is best to buy, learn, put on resume at this point,
> Visual Basic 5, or Visual Basic 6?
Get VB6, it has some new language features that make life easier, and
improved database tools.
Jeff