DS said:
Is there any difference in network speed or anything else for that matter
if you use VB6 as a Front End and Access as a Back End as opposed to
Access Front End and Access Back End?
Thanks
DS
The speed of the network or the client will not change one bit here. You can
write in in assembler for all that matters, the network does not know the
difference nor will run any faster.
Remember MS access is not processing bound here, but networks speed bound.
So, using assembler, c++, or ms-access to read data from a mdb file will not
change the speed of the jet database engine.
On the other hand for the most part any performance issues you encounter on
a network are going to be that as your application design.
I have the medium size application with about 30,000 lines of vBA code,
about 160 forms, and about 55 very highly related tables. On a typical
office network with five users the application absolute screams in terms of
performance. In fact we had replaced a $250,000 mainframe with a simple file
share (not even a database server!!). So, we not even running SQL server for
backend.
The trick in most cases is simply to load up a form to one record. Then if
the table has a million records, or one record in it, the form load time
will be near instant. There's no reason you should not get absolute near
blistering performance and near instant form load times on a typical office
network, and this is regardless of how large your tables are.
It you not getting very high performance, then it won't help if you write an
assembler, C++ or ms-access to read that data.
Unless your network is unreasonably slow, or you have a large users (say 25
or more), there's little if any reason that your application should not be
snappy and forms should not load instantly.
Often we do find that some of these visual basic applications run faster,
and that's because the developer designs the application to load a form up
to only the one record and not pull in a large number of records (and, so
many access developrs do this wrong). There is nothing wrong with using
bound forms, but you always want open forms with a "where" clause to
restrict the record being opened.