Quote:
Originally Posted by Banfa
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
- 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?
- 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?
- What are the chances of me accidentally doing something wrong and obliterating the data in the MS SQL server database?
- 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?
- 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.