Group:  Microsoft Access ยป microsoft.public.access
Thread: Convert Access to SQL Server, but keep Access front end?

DotNetBag
.NET Development Newsgroups

HTVi
TV Discussion Newsgroups

Our Hot Pick: Rising Antivirus 2006 - Certified by TUV & Checkmark! Get 10% discount by entering this coupon code: ONDISCOUNT10
Rising Antivirus 2006

Convert Access to SQL Server, but keep Access front end?
"cmay" <cmay[ at ]walshgroup.com> 20.09.2006 19:11:31
I have been given an old Access application where the Access is not
only the database, but the front end as well.
There are forms, reports, and several buttons simply display the raw
tables, in what appears to be Access's native data table display.

I was asked to move the data into SQL Server, but keep the front end in
Access for now.

I know if this were an app using ADO, I could go in and change the
connection strings or whatever, but is it possible to have Access be
the front end, pointing to a SQL Server database? Where would I go in
Access to set the "data source" if this is even possible?

Thanks

RE: Convert Access to SQL Server, but keep Access front end?
Bill Mosca 20.09.2006 19:47:02
In most cases, all you need to do is create an ODBC file and link the tables
in your front end. Everything else can stay the same. Access treats the
linked tables like regular Access tables.

File>Get External Data>Link tables.

Then select ODBC (the last File type in the drop down list). Use the wizard
to build a new DSN file or use an existing one.

Each table or view should have a unique index or you will not be able to
edit the records.

There are a few gotchas, but nothing earth-shattering.
--
Bill Mosca, Microsoft Access MVP


"cmay" wrote:

[Quoted Text]
> I have been given an old Access application where the Access is not
> only the database, but the front end as well.
> There are forms, reports, and several buttons simply display the raw
> tables, in what appears to be Access's native data table display.
>
> I was asked to move the data into SQL Server, but keep the front end in
> Access for now.
>
> I know if this were an app using ADO, I could go in and change the
> connection strings or whatever, but is it possible to have Access be
> the front end, pointing to a SQL Server database? Where would I go in
> Access to set the "data source" if this is even possible?
>
> Thanks
>
>
Re: Convert Access to SQL Server, but keep Access front end?
"cmay" <cmay[ at ]walshgroup.com> 20.09.2006 20:54:15
Thanks Bill.



Bill Mosca wrote:
[Quoted Text]
> In most cases, all you need to do is create an ODBC file and link the tables
> in your front end. Everything else can stay the same. Access treats the
> linked tables like regular Access tables.
>
> File>Get External Data>Link tables.
>
> Then select ODBC (the last File type in the drop down list). Use the wizard
> to build a new DSN file or use an existing one.
>
> Each table or view should have a unique index or you will not be able to
> edit the records.
>
> There are a few gotchas, but nothing earth-shattering.
> --
> Bill Mosca, Microsoft Access MVP
>
>
> "cmay" wrote:
>
> > I have been given an old Access application where the Access is not
> > only the database, but the front end as well.
> > There are forms, reports, and several buttons simply display the raw
> > tables, in what appears to be Access's native data table display.
> >
> > I was asked to move the data into SQL Server, but keep the front end in
> > Access for now.
> >
> > I know if this were an app using ADO, I could go in and change the
> > connection strings or whatever, but is it possible to have Access be
> > the front end, pointing to a SQL Server database? Where would I go in
> > Access to set the "data source" if this is even possible?
> >
> > Thanks
> >
> >

RE: Convert Access to SQL Server, but keep Access front end?
Ray 20.09.2006 21:06:02
I tried it many times and there were very little problems with ODBC. Some
fine-tuning here and there. But....

Any reason why you're doing this? Often, people think that doing this will
speed up the application, nothing could be further from the truth. When all
you do is upload the tables, the application actually becomes slower! Keep in
mind that the queries still execute at the workstation and not on the server.
So you're not really taking advantage of SQL Server's client-server
architecture.

"cmay" wrote:

[Quoted Text]
> I have been given an old Access application where the Access is not
> only the database, but the front end as well.
> There are forms, reports, and several buttons simply display the raw
> tables, in what appears to be Access's native data table display.
>
> I was asked to move the data into SQL Server, but keep the front end in
> Access for now.
>
> I know if this were an app using ADO, I could go in and change the
> connection strings or whatever, but is it possible to have Access be
> the front end, pointing to a SQL Server database? Where would I go in
> Access to set the "data source" if this is even possible?
>
> Thanks
>
>
Re: Convert Access to SQL Server, but keep Access front end?
"Rick Brandt" <rickbrandt2[ at ]hotmail.com> 20.09.2006 21:22:13
Ray wrote:
[Quoted Text]
> I tried it many times and there were very little problems with ODBC.
> Some fine-tuning here and there. But....
>
> Any reason why you're doing this? Often, people think that doing this
> will speed up the application, nothing could be further from the
> truth. When all you do is upload the tables, the application actually
> becomes slower! Keep in mind that the queries still execute at the
> workstation and not on the server. So you're not really taking
> advantage of SQL Server's client-server architecture.

It is not correct that all query processing is done locally when using
Access queries against ODBC linked tables. The vast majority of the work is
still sent to the server for processing. Depending on how the query is
designed you can get anywhere from 100% of the processing done on the server
to 100% of the processing done locally after pulling entire tables over, but
the former is much more likely than the latter.

It is true that you have to change to Stored Procedures and/or Passthrough
queries to *guarantee* server side processing, but that is not the same as
saying that all standard queries will be processed locally.

--
Rick Brandt, Microsoft Access MVP
Email (as appropriate) to...
RBrandt at Hunter dot com



Re: Convert Access to SQL Server, but keep Access front end?
"cmay" <cmay[ at ]walshgroup.com> 22.09.2006 21:48:09
I am not exactly the one calling the shots on this project, but I
believe the reason we are moving to SQL is mostly for a way centralize
the data as right now several people have their own copy of the data,
and probably more importantly I think this is a first step before a
rewrite of the UI.

But as I said... I am not the one calling the shots :)

Home | Search | Terms | Imprint | Contact
Newsgroups Reader - provided by WiredBox.Net