Access as a FRONT END to SQL Server / FUTURE of Access ???

  • Thread starter kev100 via AccessMonster.com
  • Start date
K

kev100 via AccessMonster.com

I've been slowly learning Access the last few months and have found it
incredibly useful.


My workplace uses SQL server (with it's tables) for some various storage /
processing needs.


Some folks here are some "somewhat" familiar with programming, Acccess, Excel,
etc. and think that building the "Front end" (stuff users will use to view /
interact with the data stored in SQL server) should be in .NET or created
with something like VisualBasic Studio.

However....after using Access to link to outside databases (like FoxPro)......
it seems to do a Very Good job.

The thing I've like so much about Access is that I'm able to create pretty
nice little tools very Quickly....and am able to modify them....often in
Minutes....when needed.

I was hoping to get some thoughts about the future of Access and if it makes
a good interface for SQL databases.

If it's destined for the scrap heap........I'll need to begin focusing on
Visual Studio...etc (?).

...and/or.....

....If it makes a lousy interface for SQL Server tables......I'll need to
look into other things.

But.....if it's used that way by many now.....and it's still an up-to-date
viable app...I'd like to make my case for it and develope/enhance existing
apps.



The below clip from the MSDN forum is encouraging....

"Microsoft Office Access uses a database engine that can store data directly
and that can also mediate storage and retrieval of data using other database
engines, including Microsoft SQL Server. The Access application development
tools can be used either with the Access database engine or directly with the
SQL Server database engine."


Any advice appreciated.
Thanks
 
J

Jeff Boyce

I'll offer my free advice...

I've used Access for over a dozen years. I have several (10+) apps with
Access front-ends connected to SQL-Server back-ends. There are more (to be
developed) on my plate.

I expect to be using Access for the next 5-10 years, if not longer.

Regards

Jeff Boyce
Microsoft Office/Access MVP
 
A

Albert D. Kallal

My workplace uses SQL server (with it's tables) for some various storage /
processing needs.

Yes, but what do they use for the user interface in the above case? (you
failed to mention this!!).

I was hoping to get some thoughts about the future of Access and if it
makes
a good interface for SQL databases.

well, that is two questions!!!

The future of ms-access looks very bright. After all, the ms-access team at
ms is as large as it ever been. We have a great new version coming out for
office 2007...and lots of neat-o cool features...
If it's destined for the scrap heap

No, it is not. No more so then is Word, or Excel. For what reason did you
think this?

But.....if it's used that way by many now.....and it's still an up-to-date
viable app...I'd like to make my case for it and develope/enhance existing
apps.

It is a great tool, and when used correctly it rewards you with a lot of
bang for your efforts.

There is a few things you need to keep in mind when using ms-access with sql
server, but this advice
applies to ALL applications you would build..be it vb.net, vb6, or ms-access

SQL server is indeed a high performance system, and also a system that can
scale to many many users.

If you write your application in c++, or VB, or vb.net or in your case with
ms-access, in GENERAL the performance of all of these tools will BE THE
SAME.

In other words...sql server is rather nice, and is a standard system used in
the IT industry.

However, before you convert..how well does your application run now?

We often see posts here that a application is too slow with one user. If the
application is too slow with one user..then what can one expect when they
try and run 10 users. That is now 10 times the requirements..

The other issue is how well is the database setup?

Further..how well are the forms designed?

How well does the application work with 5 users..and then when you jump to
10 users...how much a slow down to you notice?

A few things:

Having a table with 75k records is quite small. Lets assume you have 12
users. With a just a 100% file base system (jet), and no sql server, then
the performance of that system should really have screamed.

Before Microsoft started "really" selling sql server, they rated JET could
handle easily 50 users. We have credible reports here of people
running 100 users. however, in those cases everything must be
"perfect".

I have some applications out there with 50, or 60 HIGHLY related tables.
With 5 to 10 users on a network, response time is instant. I don't think any
form load takes more then one second. Many of those 60+ tables are highly
relational..and in the 50 to 75k records range.

So, with my 5 users..I see no reason why I can't scale to 15 users with
such small tables in the 75,000 record range.

If the application did not perform with such small tables of only 75k
records..then upsizing to sql server will do absolute nothing to fix
performance issues. In fact, in the sql server newsgroups you see weekly
posts by people who find that upgrading to sql actually slowed things down.
I even seem some very cool numbers showing that some queries where actually
MORE EFFICIENT in terms of network use by JET then sql server.

My point here is that technology will NOT solve performance problems.
However, good designs that make careful use of limited bandwidth resources
is the key here. So, if the application was not written with good
performance in mind..then you kind are stuck with a poor design!

I mean, when using a JET file share, you grab a invoice from the 75k record
table..only the one record is transferred down the network with a file share
(and, sql server will also only transfer one record). So, at this point, you
really will NOT notice any performance difference by upgrading to sql
server. There is no magic here.

Sql server is a robust and more scalable product then is JET. And, security,
backup and host of other reasons make sql server a good choice.
However, sql server will NOT solve a performance problem with dealing
with such small tables as 75k records

Of course, when efforts are made to utilize sql server, then
significant advances in performance can be realized.

I will give a few tips...these apply when using ms-access as a file
share (without a server), or even odbc to sql server:

** Ask the user what they need before you load a form!

The above is so simple, but so often I see the above concept ignored.
For example, when you walk up to a instant teller machine, does it
download every account number and THEN ASK YOU what you want to do? In
access, it is downright silly to open up form attached to a table WITHOUT
FIRST asking the user what they want! So, if it is a customer invoice, get
the invoice number, and then load up the form with the ONE record (how can
one record be slow!). When done editing the record...the form is closed, and
you are back to the prompt ready to do battle with the next customer. You
can read up on how this "flow" of a good user interface works here (and this
applies to both JET, or sql server applications):

http://www.members.shaw.ca/AlbertKallal/Search/index.html

My only point here is restrict the form to only the ONE record the user
needs. Of course, sub-forms, and details records don't apply to this rule,
but I am always dismayed how often a developer builds a nice form, attaches
it to a large table, and then opens it..and the throws this form attached to
some huge table..and then tells the users to go have at and have fun. Don't
we have any kind of concern for those poor users? Often, the user will not
even know how to search for something ! (so, prompt, and asking the user
also makes a HUGE leap forward in usability. And, the big bonus is reduced
network traffic too!...Gosh...better and faster, and less network
traffic....what more do we want!).

** Don't use quires that require more then one linked table

(this ONLY applies to odbc to sql server...you CAN and are FREE to do this
with a mdb JET file share..and also with ADP projects to sql server).

When you use
ODBC, one table could be on the corporate server, and the other ODBC might
be a FoxPro table link 3 computers from the left of you. As a result..JET
has a real difficult time joining these tables together..and JET can not
assume that the two tables are on the same box..and thus have the "box" join
the tables. Thus,while jet does it best..these types of joins can often be
real slow. The simple solution in these cases is to change the query to
view..and link to that. This is the least amount of work, and means the
joins occur on the server side. This also applies to combo boxes. Most
combos boxes has sql embedded in them. That sql has to be processed, and
then thrown to a linked odbc table. This is a bit sluggish. (a form can have
maybe one, or two combos..but after that ..it will start to load slow). So,
remove the sql from the combo box, build a view..and link the combo box
direct to that view (JUST USE the view name...the sort, and any sql need to
be in the view). The result is quite good combo box load performance. (and
again, not very much work. There are other approaches that can even speed
this up more..but we have to balanced the benefits VS. the amount of work
and coding. I don't think once should re-code all combo boxes to a call back
with a pass-through reocrdset..but that can be a solution also).

If you are using a ADP access project, the above points about the joins
with more then one table does NOT apply..since all queries execute
on the sql server side. (perhaps you could consider converting the
application to a ADP project. It would at least force you to make
most sql run on the server side. However, ODBC is just fine
and is usually EQUAL in performance if you do things right).

** Of course, if you do have sql with more then one table..then pass-though
is the best if using odbc. (again..this does NOT apply to a mdb JET file
share).

** You can continue to use bound forms..but as mentioned..restrict the form
to the one record you need. You can safely open up to a single invoice,a and
even continue to use the "where" clause of the openform. Bound forms are way
less work then un-bound forms...and performance is generally just is good
anyway when done right.

** Large loading of combo boxes. A combo box is good for about 100
entries. After that..you are torturing the user (what..they got to look
through 100's of entries). So, keep things like combo boxes down
to a min size. This is both faster..and MORE importantly it is
kinder to your users.

After all, at the end of the day..what we really want is to make
things easy for the users...and treat them well.. It seems that
treating the users well, and reducing the bandwidth
(amount of data) goes hand in hand. So, better applications
treat the users well..and run faster! (this is good news!)
 
J

James A. Fortune

kev100 said:
I've been slowly learning Access the last few months and have found it
incredibly useful.


My workplace uses SQL server (with it's tables) for some various storage /
processing needs.


Some folks here are some "somewhat" familiar with programming, Acccess, Excel,
etc. and think that building the "Front end" (stuff users will use to view /
interact with the data stored in SQL server) should be in .NET or created
with something like VisualBasic Studio.

However....after using Access to link to outside databases (like FoxPro)......
it seems to do a Very Good job.

The thing I've like so much about Access is that I'm able to create pretty
nice little tools very Quickly....and am able to modify them....often in
Minutes....when needed.

I was hoping to get some thoughts about the future of Access and if it makes
a good interface for SQL databases.

If it's destined for the scrap heap........I'll need to begin focusing on
Visual Studio...etc (?).

..and/or.....

...If it makes a lousy interface for SQL Server tables......I'll need to
look into other things.

But.....if it's used that way by many now.....and it's still an up-to-date
viable app...I'd like to make my case for it and develope/enhance existing
apps.



The below clip from the MSDN forum is encouraging....

"Microsoft Office Access uses a database engine that can store data directly
and that can also mediate storage and retrieval of data using other database
engines, including Microsoft SQL Server. The Access application development
tools can be used either with the Access database engine or directly with the
SQL Server database engine."


Any advice appreciated.
Thanks

I'm starting to focus more on Visual Studio and DotNet, but not because
I think Access is headed for the scrap heap. The tradeoff seems to be a
higher per-seat cost and rapid development time using Access versus a
negligible per-seat cost and much slower development time with DotNet.
That's a generalization. The Access GUI is really nice. Would you mind
going to, say, a browser based intranet GUI? How about having access to
data from a mobile phone? Will you have wireless users? Is security a
priority? You really need to be able to use either Access or DotNet as
a front end to SQL Server. I don't know which way my customers are
going to lean in the future, but I'll try to give them all the facts I
can about the tradeoffs. They absolutely love Access but if I can find
a way to do rapid development in DotNet, that may cause them to
reconsider their options. Besides, for now I like the way Access makes
me look like a miracle worker. My advice is to go ahead and make the
case for Access being part of an overall strategy for interfacing with
SQL Server data.

James A. Fortune
(e-mail address removed)

I recommended that my customers start buying 64-bit computers when older
ones are replaced or when new ones are needed.
 
J

John Vinson

I was hoping to get some thoughts about the future of Access and if it makes
a good interface for SQL databases.

Microsoft has more people working on the next release of Access
(already out in beta) than they've ever had. It's a major release with
lots of new features. This doesn't sound like it's going down the
drain.

And yes, Access makes a terrific frontend for SQL tables.

Your perceptions about the benefits of developing UI's in Access (vis
a vis .NET or the like) match my experience.

John W. Vinson[MVP]
 
J

John Vinson

The tradeoff seems to be a
higher per-seat cost and rapid development time using Access versus a
negligible per-seat cost and much slower development time with DotNet.

Um? For more than a few seats, using the Access Runtime (free license)
is pretty cost effective. I'm sure that the cost of the Access
Developer Tools in Visual Studio is comprable to the cost of .NET
development!

John W. Vinson[MVP]
 
A

Arvin Meyer [MVP]

kev100 via AccessMonster.com said:
I've been slowly learning Access the last few months and have found it
incredibly useful.

Any advice appreciated.
Thanks

To throw my hat in the ring. I've been developing in Access for almost 14
years (Since November of 1992) There is no RAD tool the even comes close to
it. I can build database apps at least 3 times faster than the fastest .NET
developers. Apparently, the corporate world thinks it's great too since
they've made it the most used database tool, I think more than all other
DBMS combined. It won't be going away for many years, since it is part of
the Office suite which is Microsoft's cash cow.
--
Arvin Meyer, MCP, MVP
Microsoft Access
Free Access downloads
http://www.datastrat.com
http://www.mvps.org/access
 
J

James A. Fortune

John said:
Um? For more than a few seats, using the Access Runtime (free license)
is pretty cost effective. I'm sure that the cost of the Access
Developer Tools in Visual Studio is comprable to the cost of .NET
development!

John W. Vinson[MVP]

That's a good point. I wasn't thinking about runtimes when I made that
statement. I've got legal software for making A97 runtimes. I'm not
sure why I still avoid using runtimes.

James A. Fortune
(e-mail address removed)
 
A

Arvin Meyer [MVP]

That's a good point. I wasn't thinking about runtimes when I made that
statement. I've got legal software for making A97 runtimes. I'm not sure
why I still avoid using runtimes.

Probably because there are many things that don't work correctly. OTOH, if
price is the object, they do offer an alternative. I find it ultimately more
cost effective to just buy the upgrade licenses, at least for less than 20
users. At roughly a $100 a copy, the time saved (figure at least 1 hour to
create and test the runtime) gets paid for with very few changes. The same
holds true, but to a lesser extent, with MDEs. By the time you compile and
distribute, then deal with the occasional reference problem, it is
ultimately cheaper to just give them the file. Those that sell their work by
the seat would disagree, I'm sure.
--
Arvin Meyer, MCP, MVP
Microsoft Access
Free Access downloads
http://www.datastrat.com
http://www.mvps.org/access
 
T

Tony Toews

Arvin Meyer said:
Probably because there are many things that don't work correctly. OTOH, if
price is the object, they do offer an alternative. I find it ultimately more
cost effective to just buy the upgrade licenses, at least for less than 20
users. At roughly a $100 a copy, the time saved (figure at least 1 hour to
create and test the runtime) gets paid for with very few changes. The same
holds true, but to a lesser extent, with MDEs. By the time you compile and
distribute, then deal with the occasional reference problem, it is
ultimately cheaper to just give them the file. Those that sell their work by
the seat would disagree, I'm sure.

But given that I do all my work assuming runtime and MDE I've never
been bitten by any of the differences between those and the full
version of Access and MDB.

Tony
--
Tony Toews, Microsoft Access MVP
Please respond only in the newsgroups so that others can
read the entire thread of messages.
Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top