472,977 Members | 1,746 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,977 software developers and data experts.

Access front end for sql server

I have been doing programming in Access for about 10 years. I am now
being asked to make an Access front end for data that is stored in SQL
Server.

My impression is that the only way to do this is to use a .adp
application, rather than an .mdb file. Is that correct?

Is it possible to use DAO or ADO with .adp objects?

Also, is there a good manual on making access front ends for SQL
server data?

Gwindor
Jun 28 '08 #1
11 5029
On Sat, 28 Jun 2008 10:52:40 -0400, Gwindor <gw*****@verizon.net>
wrote:

No, you can also create an ODBC connection to the SQL Server and stay
within the familiar MDB environment.
It appears MSFT is phasing out support for ADP.

-Tom.

>I have been doing programming in Access for about 10 years. I am now
being asked to make an Access front end for data that is stored in SQL
Server.

My impression is that the only way to do this is to use a .adp
application, rather than an .mdb file. Is that correct?

Is it possible to use DAO or ADO with .adp objects?

Also, is there a good manual on making access front ends for SQL
server data?

Gwindor
Jun 28 '08 #2
"Gwindor" <gw*****@verizon.netwrote in message
news:3m********************************@4ax.com...
>I have been doing programming in Access for about 10 years. I am now
being asked to make an Access front end for data that is stored in SQL
Server.

My impression is that the only way to do this is to use a .adp
application, rather than an .mdb file. Is that correct?
No, hopefully, if you been using ms-access, then you been splitting your
databases for years?

>
Is it possible to use DAO or ADO with .adp objects?
When you go ADP, you can't use DAO, it all ADO by default. And, ADP projects
are ONLY for sql server. if you use linked tables, then you can use just
about any database server.

For this reason, for existing applications, we tend to prefer using linked
tables. Those tables can be linked to your back end (mdb), or linked to sql
server. When you do this linking, most, if not all of your code and
application sill simply function as before.

This means that you can develop the application, then split it. make sure it
works, and then upgrade the back end to sql server, and then link the front
end to that.

Here is some links that should be of use:

http://support.microsoft.com/default...19&Product=acc

ACC2000: "Access 2000 Upsizing Tools" White Paper Available in Download
Center
http://support.microsoft.com/?id=241743

ACC2002: "Access 2002 Upsizing Tools" White Paper Available in Download
Center
http://support.microsoft.com/?id=294407

ACC2000: Optimizing for Client/Server Performance (odbc)
http://support.microsoft.com/?id=208858

ACC: "Upsizing to Microsoft SQL Server" White Paper Available in Download
Center (a95, and a97)
http://support.microsoft.com/?id=175619

HOW TO: Convert an Access Database to SQL Server (a97,a2000)
http://support.microsoft.com/?id=237980

ACC: Choosing Database Tools White Paper Available in Download Cente

The Choose.exe file contains a document called "Choosing the Right Database
Tools" that discusses Microsoft's database products: Microsoft Access,
Microsoft FoxPro, Microsoft SQL Server, Microsoft Visual Basic, and Open
Database Connectivity (ODBC). Use this document to decide which database
tool is right for you.

http://support.microsoft.com/?id=128384

ACC: Tips for Optimizing Queries on Attached SQL Tables
http://support.microsoft.com/?id=99321

--
Albert D. Kallal (Access MVP)
Edmonton, Alberta Canada
pl*****************@msn.com
Jun 28 '08 #3
Tom van Stiphout <no*************@cox.netwrote:
>It appears MSFT is phasing out support for ADP.
MSFT certainly haven't made any enhancements to ADPs for the last few versions.

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
Tony's Microsoft Access Blog - http://msmvps.com/blogs/access/
Jun 28 '08 #4
Thanks. ODBC works fine for me. At least, it works fine if I can
make the connection.

I have tried a few different tricks to create a connection, but the
connection fails. Could this be because I am working with Access 2003
and my sql server is SQL Server Express 2005?

(My client has a full SQL Server copy at his location, but here at my
office on my PC I am dealing with SQL Express 2005.)

Gwindor

On Sat, 28 Jun 2008 08:22:35 -0700, Tom van Stiphout
<no*************@cox.netwrote:
>On Sat, 28 Jun 2008 10:52:40 -0400, Gwindor <gw*****@verizon.net>
wrote:

No, you can also create an ODBC connection to the SQL Server and stay
within the familiar MDB environment.
It appears MSFT is phasing out support for ADP.

-Tom.

>>I have been doing programming in Access for about 10 years. I am now
being asked to make an Access front end for data that is stored in SQL
Server.

My impression is that the only way to do this is to use a .adp
application, rather than an .mdb file. Is that correct?

Is it possible to use DAO or ADO with .adp objects?

Also, is there a good manual on making access front ends for SQL
server data?

Gwindor
Jun 28 '08 #5
On Sat, 28 Jun 2008 14:22:15 -0400, Gwindor <gw*****@verizon.net>
wrote:

No.
Likely a permissions issue. Are you getting any error messages?
Compare your connectionstring with those posted at
www.connectionstrings.com

-Tom.

>Thanks. ODBC works fine for me. At least, it works fine if I can
make the connection.

I have tried a few different tricks to create a connection, but the
connection fails. Could this be because I am working with Access 2003
and my sql server is SQL Server Express 2005?

(My client has a full SQL Server copy at his location, but here at my
office on my PC I am dealing with SQL Express 2005.)

Gwindor

On Sat, 28 Jun 2008 08:22:35 -0700, Tom van Stiphout
<no*************@cox.netwrote:
>>On Sat, 28 Jun 2008 10:52:40 -0400, Gwindor <gw*****@verizon.net>
wrote:

No, you can also create an ODBC connection to the SQL Server and stay
within the familiar MDB environment.
It appears MSFT is phasing out support for ADP.

-Tom.

>>>I have been doing programming in Access for about 10 years. I am now
being asked to make an Access front end for data that is stored in SQL
Server.

My impression is that the only way to do this is to use a .adp
application, rather than an .mdb file. Is that correct?

Is it possible to use DAO or ADO with .adp objects?

Also, is there a good manual on making access front ends for SQL
server data?

Gwindor
Jun 28 '08 #6
That's just like my dates with redheads. Of course, I don't have any,
which is to say they work fine for me except they don't work at all.

On Jun 28, 2:22*pm, Gwindor <gwin...@verizon.netwrote:
Thanks. *ODBC works fine for me. *At least, it works fine if I can
make the connection.
Jun 29 '08 #7
How unfamiliar could an ADP environment be?

Will form design be different? I don't think so.
Will report design be different? Not in my experience.
How about code? Well, we use ADO rather than DAO. Is this tough? Given
that ADO has an extensive and easily accessed object model with
numerous examples, while the secrets of DAO are hidden among the tombs
of MVP ancestors I can't understand how it could be. How difficult is
it to type "Find" rather than "FindFirst" anyway? C'mon now; hands up
those who knew that we can use the ` (lower case tilde) in place of
square brackets in JET sql?
Well what will be different? QUERY DESIGN! We'll be able to design our
queries and views in T-SQL; if Jet SQL and T-SQL were in the hockey
business JET MIGHT get to carry T-SQL's skates into the arena and wash
his jock-strap after the game, but T-SQL would be the big handsome guy
on the ice scoring all the goals.
But what about Access's interactive Query Wizard. Won't we miss it?
C'mon! Is this a PIG or is Oink a Conservative Election Slogan? Should
you miss it you can download the superb and free SQL Server Mangement
SQL Express utility and see how things can work in the real Database
world. Did I mention UDFs? And linked servers? Sure we can use these
with OBDC but is there any encouragement to do so?
Oh, Oh, Local tables. Gonna get me with Local Tables right? Well, of
course you can save any recordset, locally, in ADTG or XML format and
access it with a simple open command.
If I were writing this in response to most, Tom, I would say, I can do
more with an ADP than with an MDB, and I can do more with an MDB than
you can. But since I'm responding to you, I'll just say I can do a lot
with an MDB, and even more with an ADP.

On Jun 28, 11:22*am, Tom van Stiphout <no.spam.tom7...@cox.netwrote:
On Sat, 28 Jun 2008 10:52:40 -0400, Gwindor <gwin...@verizon.net>
wrote:

No, you can also create an ODBC connection to the SQL Server and stay
within the familiar MDB environment.
It appears MSFT is phasing out support for ADP.

-Tom.
I have been doing programming in Access for about 10 years. *I am now
being asked to make an Access front end for data that is stored in SQL
Server.
My impression is that the only way to do this is to use a .adp
application, rather than an .mdb file. *Is that correct?
Is it possible to use DAO or ADO with .adp objects?
Also, is there a good manual on making access front ends for SQL
server data?
Gwindor
Jun 29 '08 #8
I think this is not correct, For instance, Access 2003 ADPs allow
setting an ADO recordset as a report's recordset. Access 2002 ADPs,
(nor any MDBs, TTBOMK) does not have this capability.

The general notion among MDB aficionados that ADPs are separate but
equal is prompted, IMO, by the those aficionados' lack of ADP
experience. ADPs are superior creatures in many ways.

On Jun 28, 1:04*pm, "Tony Toews [MVP]" <tto...@telusplanet.netwrote:
Tom van Stiphout <no.spam.tom7...@cox.netwrote:
It appears MSFT is phasing out support for ADP.

MSFT certainly haven't made any enhancements to ADPs for the last few versions.
Jun 29 '08 #9
On Sat, 28 Jun 2008 17:57:29 -0700 (PDT), lyle fairfield
<ly************@gmail.comwrote:

Try running an ADP in the A2007 runtime, and you'll see that MSFT's
support is dwindling. I haven't tried it yet after SP1 came out, but
out of the chute it was HORRIBLE.
I was an afficionado for a long time, and we have built several large
ADP-based apps for our clients, but I have had to reconsider that
position.

-Tom.

>I think this is not correct, For instance, Access 2003 ADPs allow
setting an ADO recordset as a report's recordset. Access 2002 ADPs,
(nor any MDBs, TTBOMK) does not have this capability.

The general notion among MDB aficionados that ADPs are separate but
equal is prompted, IMO, by the those aficionados' lack of ADP
experience. ADPs are superior creatures in many ways.

On Jun 28, 1:04*pm, "Tony Toews [MVP]" <tto...@telusplanet.netwrote:
>Tom van Stiphout <no.spam.tom7...@cox.netwrote:
>It appears MSFT is phasing out support for ADP.

MSFT certainly haven't made any enhancements to ADPs for the last few versions.
Jun 29 '08 #10
"lyle fairfield" <ly************@gmail.comwrote
I think this is not correct, For instance, Access 2003
ADPs allow setting an ADO recordset as a report's
recordset. Access 2002 ADPs, (nor any MDBs,
TTBOMK) does not have this capability.
As far as I have been able to determine, there were no "enhancements" to ADP
in Access 2007, though there were some "make it work" changes.
The general notion among MDB aficionados that
ADPs are separate but equal is prompted, IMO, by
the those aficionados' lack of ADP experience.
ADPs are superior creatures in many ways.
I would have to defer to Lyle's obviously-more-extensive experience with
ADP, but my meager experience with ADP only indicated that using it was not
as onerous as some have thought, but I could see no compelling advantage in
the (relatively straightforward) processing that was done in that
application.

ADO may, as Lyle has stated, have a "simpler object model", but all the same
information is required... it's just that some of it is being provided in a
different way. I'm sure it it good to have "choice" in how you do things,
but the fact that ADO has several ways to accomplish most operations will
mean a learning curve for even accomplished programmers whose previous
experience with Access has only included DAO.

My view may be affected by the fact that the design and implementation of
the ADP application I was engaged to modify was atrocious, but with the same
author, I admit that it would likely have been equally atrocious if it had
been an MDB using DAO. From the programming style, I would guess the person
was a "refugee from VB", not at all familiar with database.

The client, however, was adamant that there be no changes other than the
functional enhancements they had identified, because the function was to be
included in the enterprise requirement planning ERP system they were
implementing, in "just a matter of a few months" and they just wanted to
nurse the Access / SQL Server app along until it the ERP system was ready.

I was not hired to advise on the ERP project, so I didn't. However, the
follow-up is: I know my colleague on that project was still doing minor
changes to the Access application over two years later, so I have to guess
the "few months" stretched a little. That's a lot better than many ERP
projects, which soak up resources for years before being cancelled and
abandoned.

Larry

Jun 29 '08 #11


how to create backend in sqlserver and frontend access
*** Sent via Developersdex http://www.developersdex.com ***
Aug 3 '08 #12

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

38
by: Remco Groot Beumer | last post by:
Hello, I'm trying to decide if the following situation would be workable: Generate an MS Access Front End (which will run localy on client computers), which will link to a DBMS (SQL server or...
7
by: rickcheney | last post by:
I just changed my Access 2002 database to a SQL Server ADP project. I had a form where the user entered a value into a text box and when a command button on the form was clicked a Report was...
14
by: D | last post by:
Hey guys- not sure where this post fits in, so I cc'd a few other groups as well- hope you dont mind... I have someone creating a database for me in Access 2000 (or is it called XP?). When it's...
5
by: premmehrotra | last post by:
I currently have a multi-user access database which is put on a shared drive L: on a Windows Servers. Entire database is one file premdb.mdb. Users access this database from their laptops....
7
by: ddsvi78 | last post by:
I am a complete idiot when it comes to access. Now that said, I work for a computer security company and one of our customers came to us with an access problem. They had been running fine for a...
35
by: robert d via AccessMonster.com | last post by:
I was asked to provide a proposal. I provided a proposal on my application and the prospective client likes what I have but is wary of it having been developed in Access. I don't understand this...
5
by: B1ackwater | last post by:
We've fooled around with Access a bit, but only using the single-user store-bought version. It seems to be a good database - versatile and infinitely programmable - and can apparently be used as a...
22
by: Jordan S. | last post by:
SQL Server will be used as the back-end database to a non trivial client application. In question is the choice of client application: I need to be able to speak intelligently about when one...
5
by: Kip | last post by:
I have an office with approx 8 people. I have used Access with a Form on my personal PC for client records. I was wondering if I could put the Access table on a server and put shortcuts on each...
14
by: jptpjs via AccessMonster.com | last post by:
I have an application I built in Access 2003. It is an electronic medical records program split into front end (8 computers) and back end. This runs flawlessly. Purchased a billing program that...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
0
tracyyun
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
4
NeoPa
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
4
by: GKJR | last post by:
Does anyone have a recommendation to build a standalone application to replace an Access database? I have my bookkeeping software I developed in Access that I would like to make available to other...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.