PC Review


Reply
Thread Tools Rate Thread

Access FE with SQL Server BE or .NET FE and SQL Server BE

 
 
ryguy7272
Guest
Posts: n/a
 
      14th Jun 2009
I've been programming in Access for a little over a year now; used the app
for several years prior to doing development work. I am just getting into
SQL Server and .NET now. I am wondering what the advantages/disadvantages of
the following two scenarios are:

#1)
Use Access as a FE and SQL Server as a BE

#2)
Use .NET as a FE and and SQL Server as a BE

I would think .NET would be much better for web-based applications. I've
done a fair amount of IIS and ASP.NET work, drilling into Access Queries, and
had great results with that.

Appreciate any insight.

Thanks,
Ryan---

--
Ryan---
If this information was helpful, please indicate this by clicking ''Yes''.
 
Reply With Quote
 
 
 
 
David H
Guest
Posts: n/a
 
      15th Jun 2009
See inline comment...

"ryguy7272" wrote:

> I've been programming in Access for a little over a year now; used the app
> for several years prior to doing development work. I am just getting into
> SQL Server and .NET now. I am wondering what the advantages/disadvantages of
> the following two scenarios are:
>
> #1)
> Use Access as a FE and SQL Server as a BE



>
> #2)
> Use [ASP].NET as a FE and and SQL Server as a BE
>
> I would think .NET would be much better for web-based applications. I've
> done a fair amount of IIS and ASP.NET work, drilling into Access Queries, and
> had great results with that.


Given that I've lived, breathed, and slept ASP.NET for the past six months
(having worked with Access as a front end on and off for ten years), my own
personal preference is for ASP.NET. However, there's been a huge learning
curve which is just now paying off. Pretty much things aren't as obvious as
you would think and I have yet to find a ASP.NET newsgroup/discussion group
that's as helpful as the MS Office groups. (Typically, a response, if any,
takes days to get.)

I believe that the real power of ASP.NET is seen when its married with DHTML
and CSS. For example, in Access if you have a continuous listing Customers,
you can't have a subform showing their open orders which you can do within
ASP.NET to any number of nested 'subforms' so something like this is
possible...

John Smith
Lisa Jones
Mike Holley
---Order #15
---Order #16
------Item #231
------Item #235
---Order #17
Ronald Carter

Where you click on the person's name and the subdetail expands or collapses.
Within Access, Conditional Formatting is limited to three specific
conditions which can at times be difficult to work with if the algorithm is
rather complex. (I was pulling out my hair this time last summer with that
one.) In ASP.NET, you have full control over how a row in a 'form' is
rendered making the conditional formatting much easier to manage. You can
even make a row in a continuous 'form' highlight as the mouse moves over it
as in the example here...
http://www.dhtmlgoodies.com/scripts/...table-row.html

One particularly nice thing is that when you blend ASP.NET, DHTML and CSS
you can give your users with a replacement for a listbox or comboBox where
each individual record can contain multiple lines. An example would be
providing a list of events with event numbers and dates as in...

Bruce Springsteen Concert
Madison, WI - Tues 6/10/2009
---
Bruce Springsteen Concert
Madison, WI - Wed 6/11/2009
---
Bruce Springsteen Concert
Madison, WI - Thur 6/12/2009
---
Cher
Chicago, IL - Thur 6/12/2009

I could probably go on and on and on...easier deployment, anywhere access,
and all around coolness.

>
> Appreciate any insight.
>
> Thanks,
> Ryan---
>
> --
> Ryan---
> If this information was helpful, please indicate this by clicking ''Yes''.

 
Reply With Quote
 
Albert D. Kallal
Guest
Posts: n/a
 
      15th Jun 2009
"David H" <(E-Mail Removed)> wrote in message
news:30F19C20-A736-4171-9720-(E-Mail Removed)...


> For example, in Access if you have a continuous listing Customers,
> you can't have a subform showing their open orders which you can do within
> ASP.NET to any number of nested 'subforms' so something like this is
> possible...


Sure you can. You don't actually "nest" the sub-form, you simply just
place it on the same form.

There is a screen shot of this here:
http://www.members.shaw.ca/AlbertKal...icles/Grid.htm

Look at the very last screen shot. It is a classic screen in which you split
out
donation funds. So, the "many" people are on the left side of the form, and
on the right is the "many" accounts you split the donation out to.

Dropping two sub-forms on a main form is still A COUNTRY MILE less work then
doing this in asp.net. Because their are two sub-forms, you have to add
one meager line of code to the on-current event of the 1st form
(me.Parent.Child1.Requery) to force the 2nd form to update.

> One particularly nice thing is that when you blend ASP.NET, DHTML and CSS
> you can give your users with a replacement for a listbox or comboBox where
> each individual record can contain multiple lines. An example would be
> providing a list of events with event numbers and dates as in...
>
> Bruce Springsteen Concert
> Madison, WI - Tues 6/10/2009
> ---


We do the same thing in ms-access by using a continues form. Again, it drag
and drop. And, not only would that give us two lines of display, each line
can have things like combo box, check box etc. Try coding that in asp.net!!

Again, if you look at the above screen shots, the difference between a list
box
and a continues form is HARD to distinguish. In the above screen shots, a
continues form was used because we wanted a check box in the list.

So, if we want more then one line of detail, then one just uses a continues
form in place of a listbox. What we DO miss is the ability to have each row
expand or contract. that is difficult, but having two lines of detail for
each row is a piece of cake in ms-access.

Keep in mind with our new image control in 2007, we can even have continues
forms that display different graphic images for each row (and, we can do
this without ANY CODE at all). Again, how can you display a list like
a grid with edit buttons, and furthermore and have each row show a
different picture without whacks of code in asp.net? This is not even
close in terms of work.

Note that with the new anchoring of controls in 2007 is
very much like what a web form and you when now re-size the form, you
do see re-sizing of text boxes just like a web page and how anchoring
works in asp.net. (the anchoring is the same concept in access now).

I be the 1st to admit that html screens can often have more flexible
displays for text type data then what we have in ms-access.

However, at the end of the day building a sub sub as above or having
two lines of detail in a continues form (with buttons etc. that repeat)
you find that access runs absolute circles around coding and building
of these things compared to asp.net.

Some say you have add a "zero" on the cost of your project when you move
it from access to asp.net That means $500 of access work becomes
about $5000 of work in asp.net. I don't think the factor is that large, but
using 4-5 times the amount of labor and time is a REASONABLE figure
to get the same functionality out of a asp.net page for editing some data
as to what we creating every day in access with drag and drop.


--
Albert D. Kallal (Access MVP)
Edmonton, Alberta Canada
(E-Mail Removed)



 
Reply With Quote
 
David H
Guest
Posts: n/a
 
      15th Jun 2009


"Albert D. Kallal" wrote:

> "David H" <(E-Mail Removed)> wrote in message
> news:30F19C20-A736-4171-9720-(E-Mail Removed)...
>
>
> > For example, in Access if you have a continuous listing Customers,
> > you can't have a subform showing their open orders which you can do within
> > ASP.NET to any number of nested 'subforms' so something like this is
> > possible...

>
> Sure you can. You don't actually "nest" the sub-form, you simply just
> place it on the same form.
>
> There is a screen shot of this here:
> http://www.members.shaw.ca/AlbertKal...icles/Grid.htm
>
> Look at the very last screen shot. It is a classic screen in which you split
> out
> donation funds. So, the "many" people are on the left side of the form, and
> on the right is the "many" accounts you split the donation out to.

I was thinking in terms of this...
http://www.codeproject.com/KB/webfor...terDetail.aspx

And of course you could do the same thing with the last example.

>
> Dropping two sub-forms on a main form is still A COUNTRY MILE less work then
> doing this in asp.net. Because their are two sub-forms, you have to add
> one meager line of code to the on-current event of the 1st form
> (me.Parent.Child1.Requery) to force the 2nd form to update.

Yes, it is much, much easier. But you get what you pay for. Once I got the
concept of nesting under my belt, I simply copied and pasted the code from
one pagae to another. If you want to discuss number of lines of code, I will
admit that ASP.NET requires 300% more effort to nest controls with a total of
3 lines of code.

>
> > One particularly nice thing is that when you blend ASP.NET, DHTML and CSS
> > you can give your users with a replacement for a listbox or comboBox where
> > each individual record can contain multiple lines. An example would be
> > providing a list of events with event numbers and dates as in...
> >
> > Bruce Springsteen Concert
> > Madison, WI - Tues 6/10/2009
> > ---

>
> We do the same thing in ms-access by using a continues form. Again, it drag
> and drop. And, not only would that give us two lines of display, each line
> can have things like combo box, check box etc.

If you reread the post, you'll see that I was discussing that in listbox or
combobox, its one line in the list per record. If you need to display
additional data for the records, you have to rely on columns.
In Access it would be
Name City State
John Smith New York NY
---
Lisa Jones Atlanta GA

Using ASP.NET...
John Smith
New York, NY
---
Lisa Jones
Atlanta, GA

Remember, we're not discussing continuous forms were the controls are
stacked top to bottom, We're discussing how information in a LISTBOX or
COMBOBOX is displayed.

>Try coding that in asp.net!!

Been there done that. I've already discussed publishing it on
4GuysFromRolla.com as soon as I write it up.

>
> Again, if you look at the above screen shots, the difference between a list
> box
> and a continues form is HARD to distinguish. In the above screen shots, a
> continues form was used because we wanted a check box in the list.
>
> So, if we want more then one line of detail, then one just uses a continues
> form in place of a listbox. What we DO miss is the ability to have each row
> expand or contract. that is difficult, but having two lines of detail for
> each row is a piece of cake in ms-access.
>
> Keep in mind with our new image control in 2007, we can even have continues
> forms that display different graphic images for each row (and, we can do
> this without ANY CODE at all). Again, how can you display a list like
> a grid with edit buttons, and furthermore and have each row show a
> different picture without whacks of code in asp.net? This is not even
> close in terms of work.
>
> Note that with the new anchoring of controls in 2007 is
> very much like what a web form and you when now re-size the form, you
> do see re-sizing of text boxes just like a web page and how anchoring
> works in asp.net. (the anchoring is the same concept in access now).
>
> I be the 1st to admit that html screens can often have more flexible
> displays for text type data then what we have in ms-access.
>
> However, at the end of the day building a sub sub as above or having
> two lines of detail in a continues form (with buttons etc. that repeat)
> you find that access runs absolute circles around coding and building
> of these things compared to asp.net.
>
> Some say you have add a "zero" on the cost of your project when you move
> it from access to asp.net That means $500 of access work becomes
> about $5000 of work in asp.net. I don't think the factor is that large, but
> using 4-5 times the amount of labor and time is a REASONABLE figure
> to get the same functionality out of a asp.net page for editing some data
> as to what we creating every day in access with drag and drop.
>
>
> --
> Albert D. Kallal (Access MVP)
> Edmonton, Alberta Canada
> (E-Mail Removed)
>
>
>
>

 
Reply With Quote
 
ryguy7272
Guest
Posts: n/a
 
      16th Jun 2009
This is kind of what I thought; learned a few new things too. Any additional
thoughts?
Thanks everyone!!
Ryan---

--
Ryan---
If this information was helpful, please indicate this by clicking ''Yes''.


"Dale_Fye via AccessMonster.com" wrote:

> Cannot comment on .NET, but I've used Access FE with SQL Server BE on
> numerous occassions. In my last job, we had a small Access app that they
> decided to migrate to selected individuals throughout the enterprise.
> Unfortunately, many of these people were working over a wireless connection,
> and we had severe connectivity and corruption issues when running with an
> Access BE.
>
> When we migrated the BE to SQL Server we significantly improved performance;
> although this involved rewriting many of the queries as either pass-through
> queries or SQL Server stored proceedures. You can, of course still use
> linked tables from SQL Server as well.
>
> HTH
> Dale
>
> ryguy7272 wrote:
> >I've been programming in Access for a little over a year now; used the app
> >for several years prior to doing development work. I am just getting into
> >SQL Server and .NET now. I am wondering what the advantages/disadvantages of
> >the following two scenarios are:
> >
> >#1)
> >Use Access as a FE and SQL Server as a BE
> >
> >#2)
> >Use .NET as a FE and and SQL Server as a BE
> >
> >I would think .NET would be much better for web-based applications. I've
> >done a fair amount of IIS and ASP.NET work, drilling into Access Queries, and
> >had great results with that.
> >
> >Appreciate any insight.
> >
> >Thanks,
> >Ryan---
> >

>
> --
> HTH
>
> Dale Fye
>
> Message posted via AccessMonster.com
> http://www.accessmonster.com/Uwe/For...dules/200906/1
>
>

 
Reply With Quote
 
David H
Guest
Posts: n/a
 
      16th Jun 2009
If you pursue ASP.NET, I'd look into taking a community college course in C#
to get you familiar with the general syntax and several key concepts. I had
taken a course in Java years ago which set down a very nice foundation.

I'd also recommend a course that covers HTML, DHTML and CSS. I had built a
Classic ASP site back in 2002 which relied very heavily on DHTML & CSS so was
already head of the game when I started playing with ASP.NET.

In general, ASP.NET is such that you can get a decent, no-frills site up and
running fairly easily, however the coolness takes time. Case in point, just
today I started playing with AJAX controls haven't had any issues (so far)
adding them into existing sites.

If you don't have Visual Studio. MS does have VS Web Developer Express
Edition available for free as well as SQL Server Express.

(Oh and buy the way, if you go with a web front end you can send out links
to people that will automatically take them to a specific record...its one of
those questions that occasionally crops up in this newsgroup.)

"ryguy7272" wrote:

> This is kind of what I thought; learned a few new things too. Any additional
> thoughts?
> Thanks everyone!!
> Ryan---
>
> --
> Ryan---
> If this information was helpful, please indicate this by clicking ''Yes''.
>
>
> "Dale_Fye via AccessMonster.com" wrote:
>
> > Cannot comment on .NET, but I've used Access FE with SQL Server BE on
> > numerous occassions. In my last job, we had a small Access app that they
> > decided to migrate to selected individuals throughout the enterprise.
> > Unfortunately, many of these people were working over a wireless connection,
> > and we had severe connectivity and corruption issues when running with an
> > Access BE.
> >
> > When we migrated the BE to SQL Server we significantly improved performance;
> > although this involved rewriting many of the queries as either pass-through
> > queries or SQL Server stored proceedures. You can, of course still use
> > linked tables from SQL Server as well.
> >
> > HTH
> > Dale
> >
> > ryguy7272 wrote:
> > >I've been programming in Access for a little over a year now; used the app
> > >for several years prior to doing development work. I am just getting into
> > >SQL Server and .NET now. I am wondering what the advantages/disadvantages of
> > >the following two scenarios are:
> > >
> > >#1)
> > >Use Access as a FE and SQL Server as a BE
> > >
> > >#2)
> > >Use .NET as a FE and and SQL Server as a BE
> > >
> > >I would think .NET would be much better for web-based applications. I've
> > >done a fair amount of IIS and ASP.NET work, drilling into Access Queries, and
> > >had great results with that.
> > >
> > >Appreciate any insight.
> > >
> > >Thanks,
> > >Ryan---
> > >

> >
> > --
> > HTH
> >
> > Dale Fye
> >
> > Message posted via AccessMonster.com
> > http://www.accessmonster.com/Uwe/For...dules/200906/1
> >
> >

 
Reply With Quote
 
Tony Toews [MVP]
Guest
Posts: n/a
 
      16th Jun 2009
ryguy7272 <(E-Mail Removed)> wrote:

>#2)
>Use .NET as a FE and and SQL Server as a BE
>
>I would think .NET would be much better for web-based applications. I've
>done a fair amount of IIS and ASP.NET work, drilling into Access Queries, and
>had great results with that.


But how much longer did it take you to create the same app in .Net vs
Access? Now granted .Net has it's advantages such as multi tier and
better version tools and works better for multiple developers. But
otherwise?

Tony
--
Tony Toews, Microsoft Access MVP
Tony's Main MS Access pages - http://www.granite.ab.ca/accsmstr.htm
Tony's Microsoft Access Blog - http://msmvps.com/blogs/access/
Granite Fleet Manager http://www.granitefleet.com/
 
Reply With Quote
 
David H
Guest
Posts: n/a
 
      16th Jun 2009
It did take longer especially due to the HUGE learning curve.

In the future, will going with ASP.NET take longer than building something
in Access, YES. But I strongly believe that the control that ASP.NET provides
is well worth it.

You don't see major corporations using Access as a front-end to their
enterprise critical applications.

"Tony Toews [MVP]" wrote:

> ryguy7272 <(E-Mail Removed)> wrote:
>
> >#2)
> >Use .NET as a FE and and SQL Server as a BE
> >
> >I would think .NET would be much better for web-based applications. I've
> >done a fair amount of IIS and ASP.NET work, drilling into Access Queries, and
> >had great results with that.

>
> But how much longer did it take you to create the same app in .Net vs
> Access? Now granted .Net has it's advantages such as multi tier and
> better version tools and works better for multiple developers. But
> otherwise?
>
> Tony
> --
> Tony Toews, Microsoft Access MVP
> Tony's Main MS Access pages - http://www.granite.ab.ca/accsmstr.htm
> Tony's Microsoft Access Blog - http://msmvps.com/blogs/access/
> Granite Fleet Manager http://www.granitefleet.com/
>

 
Reply With Quote
 
Albert D. Kallal
Guest
Posts: n/a
 
      16th Jun 2009
"David H" <(E-Mail Removed)> wrote in message
news:46301948-19AB-431B-9AE8-(E-Mail Removed)...

>
> Remember, we're not discussing continuous forms were the controls are
> stacked top to bottom, We're discussing how information in a LISTBOX or
> COMBOBOX is displayed.


Yes, I understand that, but my whole point is that we "often" use a
continues form in ms-access in place of a listbox. When we do so, we get
check boxes, combo boxes, and even "edit" buttons. We can also use that
continues form to "select" individual records which in "most" cases is what
a
list box is used form. So, sure, you taking talking about a listbox, but for
what reason would one not use a continuous form when you need those extra
features you speak of? That is my point. A text box that dispalys two lines
in a continuous forms simply repeats for us.

I am not looking to throw any kind of cold water on your points made here.
At the end of the day the .net environment is a rich and fabulous
development platform. However, you have to pay for that extra time and
effort.

The other point is that was important, is that people often refer that
you can't have two continuous forms to model the "many to many" as a
sub-form. (and you pointed this out). I simply pointed out that the simple
act of placing the two continuous forms side by side gives you the same
results And, as I pointed out it only adds one line of code to the whole
process.

Again, I just wanted to point out this is not really a limitation
of access, and again compared to other development products in the
marketplace, access runs absolute circles around other development products
in terms of setting up this type of relation and data modeling of
relationship between two tables on a form. And since these gridds are
true access forms, then we have a huge number of form events such as
before update, after update, before delete, on current etc. This list
of events for a grid contorl is rather large, and the same list for
a standard form, and also means a reduction in the learning curve also.

The other significant point I was making that our continuous forms have ALL
OF the rich form controls that we have at our disposal, so we really have a
great grid control, in many ways better than the flex grid control and most
grid controls in the marketplace today. Any button, check box, combo box,
and now even the new image control will repeat over and over for us, and it
is also data bound for us.

At the end of the day, I'm not trying to compare MS access to the.net
development environment. That would be comparing apples and oranges.

However, on the other hand when you are building screens to edit and work
with data..... access is really a fabulous product to build those data edit
screens, and furthermore it far less work.

A good developer in access will produce applications significantly faster
and with MORE functionality as long as you keep within the restrictions of
the kind of development and interfaces that you need.


--
Albert D. Kallal (Access MVP)
Edmonton, Alberta Canada
(E-Mail Removed)



 
Reply With Quote
 
David H
Guest
Posts: n/a
 
      16th Jun 2009
To be honest, I wouldn't be the least surprised if the next evolution of
Access involved some sort of hybridization that combines the ease of use of
the current GUI with the flexibility provided by a web-based environment.

*NOT* that the developer would have to learn HTML, DHTML, CSS and ASP.NET,
but rather that the design environment does all the work for the developer
whereby he/she continues to drag and drop controls whereever he/she wants
them. The developer then having the choice of which language to use for the
application - Access VBA, VB or C# with the finished app still running within
Access due to the QUERIES and REPORTS. Naturally, such a hybridization would
lead to the ability to convert the forms to a pure ASP.NET solution just as
an Access backend can be upsized to SQL Server.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Restricting bandwidth in windows 2003 server using remote access and routing server technical.chap@gmail.com Microsoft Windows 2000 RAS Routing 0 17th May 2006 05:47 PM
ASP.Net Application - SQL Server 2000 Access Problem on Windows 2003 server from XP Vaap Microsoft ASP .NET 3 1st Jan 2005 06:41 AM
Re: hosting provider that supports ASP.Net and telnet/Terminal Server access to virtual server? Lucas Tam Microsoft ASP .NET 1 19th Aug 2003 06:07 AM
what level of server access is required in order to view tables with Server Explorer? Bennett Haselton Microsoft Dot NET 1 15th Jul 2003 08:25 PM
SQL Server 2000, Exchange, COM-Add in for Outlook XP; Dynamically link ACCESS xp & SQL SERVER??? Tobin Microsoft Outlook 1 7th Jul 2003 12:57 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:01 PM.