473,830 Members | 2,135 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

What are the first steps to using Access as a front end?

Banfa
9,065 Recognized Expert Moderator Expert
It came to my attention in another thread that Access is no longer the rather crippled excuse for a relational database that it seemed to be in version 1.

It appears that it may have moved on a little and one of the things it can do is act as a front end(user interface) to another database and this is what I would like to ask about.

Now I have an MS SQL chuntering away in the background with a web-service and a bespoke program reading and writing data in it. However it would be nice to be able to easily access the data posibily with a view to even editing or inserting in some of the tables.

So here are my questions
  1. What sort of new file in Access do I want? 'Blank data access page' or 'Project using existing data'? What are the differences between these 2 types of projects?
  2. Will an Access project of this nature alter the the MS SQL database, i.e. if a set-up a form in Access is that solely in Access or does it get written back to the MS SQL server somehow?
  3. What are the chances of me accidentally doing something wrong and obliterating the data in the MS SQL server database?
  4. Is it possible to set up a Report/View that will update automatically as data is written into the MS SQL server database by the other serives?
  5. Do you have any other tips for me in this matter?

Cheers
Ben
Feb 16 '07 #1
6 2085
nico5038
3,080 Recognized Expert Specialist
Simply use the File/Get externaldata/Link tables
Select ODBC as filetype and navigate to your MS SQL database.
Now select the table(s) and Access will show them as regular (linked) tables.
All normal Access functions can be used, like for "normal" Acces tables.

Only processing (large update/select queries) might be slow.
In such a case read the F1 file for "Pass through queries" to see how to speedup those.

Nic;o)
Feb 16 '07 #2
ADezii
8,834 Recognized Expert Expert
It came to my attention in another thread that Access is no longer the rather crippled excuse for a relational database that it seemed to be in version 1.

It appears that it may have moved on a little and one of the things it can do is act as a front end(user interface) to another database and this is what I would like to ask about.

Now I have an MS SQL chuntering away in the background with a web-service and a bespoke program reading and writing data in it. However it would be nice to be able to easily access the data posibily with a view to even editing or inserting in some of the tables.

So here are my questions
  1. What sort of new file in Access do I want? 'Blank data access page' or 'Project using existing data'? What are the differences between these 2 types of projects?
  2. Will an Access project of this nature alter the the MS SQL database, i.e. if a set-up a form in Access is that solely in Access or does it get written back to the MS SQL server somehow?
  3. What are the chances of me accidentally doing something wrong and obliterating the data in the MS SQL server database?
  4. Is it possible to set up a Report/View that will update automatically as data is written into the MS SQL server database by the other serives?
  5. Do you have any other tips for me in this matter?

Cheers
Ben
If you wish to provide a Client/Server application that provides efficient, native mode access to SQL Server, you may want to create a Microsoft Access Project. This is accomplished through an OLE DB interface. It is very similiar to working in an Access Database in that the process of creating Forms, Reports, Data Access Pages, Macros, and Modules is virtually the same as that used within an Access Database. Once you connect to an SQL Server Database, you can View, Create, Edit, Modify, and Delete Tables, Views, Stored Procedures, User Defined Functions, and Database Diagrams by using the various Project Components. The user interface for working with Objects is different froms its equivalent counterpart in an Access Database, but it is nonetheless user friendly. Many of the Wizards contained within an Access Database are also present in an Access Project. Familiarization with SQL terminology relating to various items such as Data Types (char, varchar, tinyint, smallint, etc.), wildcards (% and _), functions (SUBSTING(), Rand()), etc. are strongly recommended. To create an Access Project is simple:
1. File ==> New ==> Project using existing data
2. Enter a filename .adp extension will automatically be added
3. The Data Link Properties Dialog Box will appear. This Dialog contains the required Parameters for connecting to an SQL Server Database. Fill in the appropriate values then click OK
.
4. Click on Test Connection to verify that you have connected to SQL Server
5. Click Create.
I hope this has answered all or at least most of your questions.
Feb 17 '07 #3
NeoPa
32,584 Recognized Expert Moderator MVP
  1. What sort of new file in Access do I want? 'Blank data access page' or 'Project using existing data'? What are the differences between these 2 types of projects?
  2. Will an Access project of this nature alter the the MS SQL database, i.e. if I set-up a form in Access is that solely in Access or does it get written back to the MS SQL server somehow?
  3. What are the chances of me accidentally doing something wrong and obliterating the data in the MS SQL server database?
  4. Is it possible to set up a Report/View that will update automatically as data is written into the MS SQL server database by the other serives?
  5. Do you have any other tips for me in this matter?
Firstly, ADezii's response may very well be the best way for you to go. I don't have a lot of experience of other types of Access databases. I'll try to answer your questions in order though as well as I can, for reference if nothing else.
  1. I think you want the latter but I normally use the simple Blank Database option.
    1. Blank data access page is a way of working in ASP. I've not heard too many good things about the implementation.
    2. Project using existing data is described better by ADezii
  2. This would be stored in the Access project.
  3. This depends on your SQL Server permissions (you can, after all, restrict the data to R/O if you wish), but if you have full Write access then yes, it is possible to scramble your data just as it would be in OSQL (or the 2005 equivalent.)
  4. Sort of. You can run a bound Form or Report which reflects the SQL Server data but it will not update automatically once it has been displayed unless you add some code to do this periodically. There is no Trigger type facility that would cause the object to update on data update.
  5. Just one for now.
    If you want to work most efficiently with the data, then consider using Pass-Thru queries which allow you to pass the T-SQL straight through to the SQL Server Back-End. It shouldn't be necessary to use the Pass-Thrus for everything, but when you do (If a SELECT query) the results are not easily formatted. To return formatted results in this situation easily, just build a simple Access QueryDef (Saved query) based on the Pass-Thru as a RecordSet.
HTH.
Feb 18 '07 #4
Banfa
9,065 Recognized Expert Moderator Expert
Sorry about the delayed reply, a number of more urgent things got put on my plate.

Anyway thank you for the help, I expect(actually I know) I will have other questions but I will create further threads for them.
Feb 27 '07 #5
NeoPa
32,584 Recognized Expert Moderator MVP
Sorry about the delayed reply, a number of more urgent things got put on my plate.
That's not a problem. We can appreciate that, but anyway it's a forum web site and prompt responses are not generally important (We have enough to keep us busy with all the other threads ;))
Anyway thank you for the help, I expect(actually I know) I will have other questions but I will create further threads for them.
Following the site guidelines perfectly :D
Well, since you put them together I suppose that is to be expected.
Feb 27 '07 #6
MMcCarthy
14,534 Recognized Expert Moderator MVP
Here are a few whitepapers you may find useful. The first is about upsizing form Access to SQL Server but the issues raised are also applicable in the reverse.

http://www.fmsinc.com/Upsize/docs/Ev...plications.pdf

General whitepaper on the use of Access within an organisation.

http://www.fmsinc.com/Upsize/docs/DBEvolution.pdf


Mary
Feb 27 '07 #7

Sign in to post your reply or Sign up for a free account.

Similar topics

4
3664
by: Samuel | last post by:
I am building an web application that will be hosted on load balanced servers (multiple front and one backen db). The application will have to allow users to upload files onto the server. For performance reasons, I do not want to store binary files in the db (cuz there will be frequently retrieved and stored and many will be within the range of 10 MB - powerpoint slides and pdf files) so uploaded files will have to stay on the front end web...
125
14885
by: Sarah Tanembaum | last post by:
Beside its an opensource and supported by community, what's the fundamental differences between PostgreSQL and those high-price commercial database (and some are bloated such as Oracle) from software giant such as Microsoft SQL Server, Oracle, and Sybase? Is PostgreSQL reliable enough to be used for high-end commercial application? Thanks
121
10219
by: typingcat | last post by:
First of all, I'm an Asian and I need to input Japanese, Korean and so on. I've tried many PHP IDEs today, but almost non of them supported Unicode (UTF-8) file. I've found that the only Unicode support IDEs are DreamWeaver 8 and Zend PHP Studio. DreamWeaver provides full support for Unicode. However, DreamWeaver is a web editor rather than a PHP IDE. It only supports basic IntelliSense (or code completion) and doesn't have anything...
41
3099
by: Matt Alanzo | last post by:
Our SOHO 2 person compay sells furniture (not programmers). In '98 we paid $,$$$ for a VBA -Access '97 accounting application, including VBA source code .... an huge investment for us then (and now!). The application publisher went belly up years ago. Over time we've made a number of VBA code changes (< 500 lines total). Now our CPA is urging us to switch to Quickbooks Premier for Contractors at a cost of $,$$$ plus data entry. Argh, no...
2
1662
by: Tim Stevens | last post by:
Hello, This is the first time I have had to resort to posting on here, as Ive always been able to find a solution to my problems in the past by browsing postings by others. So, to start with I thank you all for so much help in the past ... To my current problem... Ive a fairly sizable application, front end local and back end networked both on access 97. All running on NT4 worstation front ends, think the back end servers are 2000, but...
24
2795
by: Bob Alston | last post by:
Most of my Access database implementations have been fairly small in terms of data volume and number of concurrent users. So far I haven't had performance issues to worry about. <knock on wood> But I am curious about what techniques those of you who have done higher volume access implementations use to ensure high performance of the database in a multi-user 100mbps LAN implementation??? Thanks
34
2502
by: radink | last post by:
Well, I've got my DB ready to go. Now what? I need to host it on our Win2003 server. How do clients use it? I think im getting more confused as I try to figure this out. We are a small company and I just want to be able to have everyone here use the database at the same time without too much fuss. Do I just have to have access on each machine and let them open it from the server, or is there more to it than that? I just don't want them...
13
2267
by: nicolegw | last post by:
I've tried googling for the answer to my question, so my apologies if it's been asked before or is terribly obvious. I'm a volunteer doing data entry for research. My office has an Access database with several hundred fields that was put together by someone who no longer works here. While using this database, I've noticed that it's missing a number of fields that we need. I told the Dr. I'm working for and encouraged her to seek the...
2
1481
by: Robert | last post by:
dear sir: I have read the c++ primer plus 5 book, and do the chapter 12 programming exercises question 5, but the average_wait have negative result. I don't understand why? here is the code, thank you anyone replay me.:) /************************* customer.h *************************/ #ifndef CUSTOMER_H_ #define CUSTOMER_H_
0
10771
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10487
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10525
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9313
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7745
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6950
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5617
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5780
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
3076
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.