Monday, 7 November 2016

Top 10 reasons to use Access with Excel

In this article


Excel and Access, better together, here's why
Even though Excel is not a database, it is widely used to store data, and it is often used to solve simple database problems. But, Excel is a "flat file database", not a relational database. When simple tables need to evolve into multiple tables of related data, Access is the first choice for information workers to quickly create a database application. Access has always been a great "data landing pad" for gathering and consolidating disparate data throughout the enterprise, much of which lives inside Excel workbooks. Once your data is in Access, you can add more tables and join them, create queries (or views of your data), structure the data and define data types to help ensure data integrity, share and update data among many users, and create powerful reports and forms.
There's no question that Access is a feature-packed product. Unlike Excel's simple spreadsheet layout, Access is organized differently with several interrelated objects that might seem daunting at first. But you don't have to be an expert to use Access. Access is designed for all kinds of users, and you can take it only as far as you need to go.
Peel back Access a layer at a time







1. Use Access in three ways: as an occasional user, a power user, or a developer.
2. Tables, queries, forms, and reports build upon each other and make up the heart of a database application.
3. Occasional users have wizards, property builders, the Office Fluent user-interface, and Excel-like features to quickly get a job done.
4. Power users have macros, the property pane, expressions, and database design tools to delve deeper and do more.
5. Developers can work with modules and develop VBA code to create custom database solutions and deploy runtime applications.


ave you seen the new Access lately? It's not your Dad's desktop database anymore. From the moment you start Access, you notice a dramatic difference. Robust, well-designed database templates for building complete applications greet you with open arms. A streamlined, flexible navigation pane, over 40 wizards and property builders, and a newly-designed what-you-see-is-what-you-get (WYSIWYG) form and report interface, all work together to greatly lessen the learning curve.
Commands in the Control Layout group on the Arrange tab Excel users will especially feel right at home. Many Access features have a familiar look and feel: The Office Fluent User interface, spell checking, Datasheet view, sorting and filtering, the status bar, saving reports in PDF format, the Help system, and more.


Reason 1: Copying an Excel worksheet to an Access datasheet

copy excel data to access A good way to test the waters in this new Office family "relationship" is to copy data from Excel into Access. You can create an Access table and display it in datasheet view, which now more closely resembles an Excel worksheet. You can do common table creation tasks, such as defining a data type, a field name, or a new field, right in the datasheet view. For example, if you enter a date in a blank field, Access sets the Date/Time data type for that field. If you enter text such as a name, Access applies the Text data type to the field. If you want to move a field, just click and drag it.
When you copy data from Excel and paste it into Access, you don't even need to create a table first, or open a table in datasheet view. Access automatically asks you if your data has headers, makes good guesses at using the correct data type, and creates an Access table. It couldn't be simpler.
For more information, see Article: Open a blank datasheet.

Reason 2: Sharing data by linking to an Excel worksheet from Access

link excel data to access One of the easiest ways to derive the benefits of both Excel and Access is to link an Excel worksheet to an Access table. Use an Access link when you plan to keep the data in Excel, but also regularly leverage some of the many Access features, such as reporting and querying. You link data from Access, and not from Excel.
Access supports two fundamentally different ways of creating database tables. Users can create new native tables to store the data in an Access database, or they can create links to existing data outside the Access database. Data in linked tables appear and behave in many ways just like native tables. The Linked Table Manager Wizard helps you track, locate, and update the Excel worksheet or other data source if it moves and the link breaks.
When you link to an Excel worksheet or a named range, Access creates a new table that is linked to the Excel data. If you want to add, edit, or delete data, you make the changes in Excel, and refresh (or requery) the data in the Access table. However, you cannot edit the contents of the table in Access. With your data linked to Excel, you can now create reports, queries, and read-only forms in Access.

Reason 3: Moving data by importing Excel data into Access

import data from excel to access If you decide to cut the data cord, you can move the data to Excel by importing the data into Access. Note that the word "import" has two different meanings between Excel and Access. In Excel, when you import (or connect), you make a permanent connection to data that can be refreshed. In Access, when you import, you bring data into Access once, but without a permanent data connection. When you import data, Access stores the data in a new or existing table without altering the data in Excel. In Access 2007, you can now import any or all of the worksheets in an Excel workbook in one operation.
The Import Wizard walks you through the import steps and helps you make important decisions about whether to change data types and adding headers. If you encounter errors when importing the data, Access alerts you and saves the errors in a table so that you can quickly find and correct them. For example, there may be an alphanumeric postal code buried deep down in a column you thought was all numeric, or a duplicate ID was detected for a primary key field. You can either make the changes in the Excel workbook and re-import the data, or make the changes in the new Access table. When you complete the operation, you can save the steps that you used and even create an Outlook task to remind you when to do the import operation on a regular basis.
Once the data is imported, it is now native to Access, and you can use datasheets and forms to add, edit, and delete the data. After you import the data, you can decide whether or not to delete the data from Excel. It's usually a good idea to have only one location for updating the data.
NOTE: Importing data from Excel to Access does not import formulas, only the results of those formulas.
For more information, see:

Reason 4: Connecting to Access data from Excel

connect to access data from excel If you think your data may be home-sick, you can reconnect the cord, by bringing Access data back to Excel. To do this, create a connection in Excel, often stored in an Office Data Connection file (.odc), to the Access database and retrieve all of the data from a table or query. After you connect to the data, you can also automatically refresh (or update) your Excel workbooks from the original Access database whenever the database is updated with new information. In other words, you can have your cake and eat it too.
Connecting to external data sources
1. In general, you make a data connection to many data sources, in this case Access.
2. You can use either an ODBC driver or OLE DB provider.
3. A connection file defines all the information that is needed to access and retrieve data from Access.
4. Connection information is copied from a connection file into a workbook and can be edited in a dialog box.
5. The data is copied into a workbook so that you can use it just as you use data stored directly in the workbook.
For more information, see:

Reason 5: Using Access reports with Excel data

Employees report in a tabular layout Once your data is in Access, you can take advantage of the marvelous array of report creation and customization tools. Want to create a report with just a few clicks? Use the Report Wizard. Want to design and modify the report layout in real time with live data, move and resize blocks of data, add and remove fields, and instantly see the changes as you build it? Use the new Layout view. Want to interact with the report to search, filter, and sort live data? Use the new Report view. Want to add command buttons, page numbers, pictures, hyperlinks, and professional-looking styles all on your own? Use the many control wizards and galleries in the Controls and Layout groups on the Designtab of the Ribbon. The message is clear. By using Access, you can easily create simple reports, group and summary reports, mailing labels, graphical reports, and subreports.
Once the report is created, use Access to electronically distribute the report. For example, you can send the report by using an e-mail message, or save the report in different formats, such as an Access snapshot or a PDF file, to add it to a Web page or SharePoint site.
For more information, see:

Reason 6: Using Access forms with Excel data

sample form Once your data is in Access, you can take advantage of the marvelous array of form creation and customization tools. Want to create a form with just a few clicks? Use the Form Wizard. Want to design and modify the form layout in real time with live data, move and resize blocks of data, add and remove fields, and instantly see the changes as you build it? Use the new Layout view. Want to add command buttons, list boxes, combo boxes, option groups, pictures, input masks, charts, hyperlinks, and professional-looking styles all on your own? Use the many control wizards and galleries in the Controls and Layout groups on the Design tab of the Ribbon. The message is clear. By using Access you can easily create simple forms, tabbed forms, continuous forms, popup forms, modal dialog boxes, and subforms.
If reading this section gave you a feeling of deja vu, there's a good reason for this. Creating, modifying, and using reports and forms are very similar and make learning Access that much easier.
In Access 2007, you can now easily create a new split form, which displays a synchronized datasheet and form view so that you can get the best of both. Once you create a polished form, it's easy to scroll, filter, and even search the data behind the form by using the standard navigation buttons and search box at the bottom of the form.
Split form
For more information, see:

Reason 7: Filtering, sorting, and querying in Access is so like Excel

AutoFilter Whichever product you use, you filter data to work with a subset of data, and you sort data to order it just the way you want. In Access, Excel users can filter and sort data in a datasheet view without having to re-learn a completely new user interface. The icons, command menus, commands, criteria, and dialog boxes are very similar, whether you are working with text, numbers, dates, or blanks. You can even save the filters and sorts along with the datasheet view.
You can create a query in Access, and not even know what SQL stands for. Four query wizards help you create simple queries, find duplicates, locate unmatched records, and create crosstab queries. You don't even have to create a query; simply filter and sort the data the way you want it to look and it's saved with a datasheet. If you want to use the Query designer to create grouped queries, parameters, or advanced criteria, you'll find it bears a striking resemblance to Excel's memorable Microsoft Query — a long lost cousin of Access.
CountryRegion criteria
For more information, see:

Reason 8: Collecting data for Excel analysis by using Access

Don't want to enter the data yourself? Then make it a family affair, and get someone else to do it for you.
Access makes it easy to gather data from people who are located anywhere on the globe, such as members of your sales team, survey participants, or contacts. By using the Data Collection Wizard, Access 2007 works with Office Outlook 2007 to help you to generate and send an e-mail message that includes a data entry form. When the recipients fill out the forms and send them back to you, the replies are processed according to your specifications. For example, if you choose to have the replies automatically processed, the contents of the form are added to the appropriate table in your database as soon as the reply reaches your inbox.
Using an e-mail message to collect data
For example you can:
  • Do a survey and compile the results in Access.
  • Create status reports of the latest inventory levels or up-to-date information on pending issues sent by your team at regular intervals to keep you posted.
  • Organize an event, such as a conference or training to gather contact information, travel and hotel preferences.

Reason 9: Doing a Mail Merge or creating labels

First page of label wizard Now that your family has grown, your holiday card list suddenly got bigger and you need to keep track of a lot more birthdays and anniversaries. Not a problem. You can use an Access table or query as a mail-merge data source, and create a mail merge operation by using the Microsoft Word Mail Merge Wizard, for letters, cards, e-mail messages, and envelopes. If you just need to create mailing labels, use the Label Wizard in Access to create and print your labels from a report you create. Want more? Then you can even automatically add a bar code corresponding to each customer address.
For more information, see:

Reason 10: Combining Excel and Access with SharePoint technologies

Both Access and Excel provide commands to connect to data in Microsoft Windows SharePoint Services lists. Excel 2007 provides a read-only (one-way) connection to linked SharePoint lists; whereas Access 2007 lets you read and write (two-way) data in linked SharePoint lists. Access and SharePoint lists work very well together. New Access and SharePoint data types — such as rich text, append only (to support tracking revision history in a memo field), attachments, AutoNumber, lookups, and multi-valued fields — make for smooth integration and few, if any, data inconsistencies.
Once you publish your Access database to a SharePoint site, you can even take the SharePoint list data offline in a local Access database, work with the data locally, and then reconnect to the SharePoint site to upload any changes. Any conflicting data changes made by other users will be handled by a conflict resolution wizard. The forms and reports you created in Access are based on the same data, but linked to SharePoint lists and can be opened directly from Windows SharePoint Services.
Excel provides the following integration points with SharePoint Server 2007.
Data-focused integration points of Excel
1. Do a one-time import of Excel worksheet data into a SharePoint list, or export Excel worksheet data to a SharePoint list to create a permanent, one-way data connection.
2. Use the permanent, one-way data connection to refresh data in an Excel worksheet from the SharePoint list.
3. Publish Excel workbooks to Excel Services, and display and interact with data by using the Microsoft Office Excel Web Access Web Part on a Web Part Page.
4. Import (connect) data into an Excel workbook from OLAP servers, SQL Server and Access databases, and flat files.
Access provides the following integration points with SharePoint Server 2007.
Data-focused integration points of Access
1. Do a one-time import or export of data between Access views and a SharePoint list.
2. Link data between Access tables and a SharePoint list by creating a permanent two-way connection (Updated list data can be in seen in an Access table; updated Access table data can be seen in a list).
3. Take list data offline, update in Access, bring back online, synchronize updates, and resolve conflicts.
4. Display and edit list data in Access datasheet, form, and report views.
5. Publish Access databases to Office SharePoint Server 2007.
For more information, see:


Next Steps: Becoming an Access power user

If you're the adventurous type, peel back the next layer and dig deeper into Access. You can create quite sophisticated desktop database applications without ever writing one line of VBA code. Each Access object has an extensive set of properties and events easily accessible from a property sheet to help you customize your solution. Each object has detailed designers that reveal all the features available to you. Additional database templates are available on Office Online. Field and table templates help you create and customize new tables fast. Design a new database from scratch with built-in database design tools.
Then there are Access macros. Macros use a declarative environment that does not require writing any VBA code, so you don't need to be a developer. Each macro action performs a task, such as opening a form, running a query, finding records, or displaying a message. You can embed macros in any event of a report, form, or control. Most macros have arguments, and you can add conditional logic to them to get them to do what you want. You can even define variables and do error-checking, again without writing VBA code.
Design a prototype and run it by the IT department. Create a "drive-by" solution for your team because they need it ASAP, and do it on a shoestring with a barebones staff. Keep track of tickets sold for a company party, track the shelf life of manufacturing materials, or print acceptance tags for parts. Track tasks, issues, and deliverables in team projects. Create a sales pipeline database to monitor prospective sales within a small group of sales professionals.
As you can see, the combination of Excel and Access is more than just a marriage of convenience. Together, these Office family products form a data dynasty that's hard to beat.

Knowledge of Microsoft Access

What is Microsoft Access Used For?

    A Brief MS Access Tutorial

Table of Contents
What if I don't have time to learn Access Database design?Very simply, Microsoft Access is an information management tool that helps you store information for reference, reporting, and analysis.  Microsoft Access helps you analyze large amounts of information, and manage related data more efficiently than Microsoft Excel or other spreadsheet applications.  This article shows you when to use Access, and how it can help make you more effective.
   

The Problem

A spreadsheet program is a terrific tool for maintaining and calculating small sets of information.  Microsoft Excel is easy to understand, create column names, enter your data, create formulas, and you're on your way.  You can sort, filter, and format the data quickly and easily.  But spreadsheets are not ideal for handling hundreds of records where you need to have "one version of the truth" for something like a customer, a contact, or main "thing" you need to track.  It is very easy to introduce errors into a spreadsheet, which then makes analysis, summing, and reporting very challenging.  The image below provides a quick example of several key challenges spreadsheets face.

The Solution:  Store Related Information Together, Eliminate Duplication

The value any database can provide is to store related information in one place, and then let you connect various different things together (sometimes called "entities" in database speak).  You store one version of the truth for any given thing, like a client, a DVD, or an order.  Some of the major benefits to using a database are:
  1. Fewer errors and inconsistencies.  Maintaining one version of the truth for the things you need to track minimizes the potential for duplication, errors, and inconsistent values.  In the Excel example above, customer names, contact phone numbers, and product names are misspelled, transposed, and abbreviated in different forms.  Imagine trying to create a report or graph in Excel that shows an accurate picture of your sales or other key performance indicators.
  2. Higher productivity.  You and others working in your database need only change a single record and all other related things in your database will automatically "see" the change.   In our Excel example, you would need to change every occurrence of a customer's name.  Find and replace wouldn't necessarily catch that a customer's name is spelled six different ways.  In a database, there is only one customer record to change.  Every other record (orders, contacts, etc) that relates to that customer record will never need to change because they are joined to the customer.
  3. Security and Control.  Databases provide a central location to store, secure, and control your data.  Microsoft Access includes the ability to encrypt and password protect database files.  And with users relying on a database rather than separate Excel spreadsheets, you can have greater control over access to the information.
  4. Better Decisions and Insight.  Perhaps most importantly, a single source of truth in a standardized format means you can gain better insight and make better decisions by reporting and analyzing your data in a database.  Users are familiar with Excel charting, and databases like Microsoft Access can provide similar capabilities, while going beyond Excel with more powerful historical trending, aggregation, and query filtering.

How does a Microsoft Access database work?

Microsoft Access works in the same manner any database does, by storing related information together, and letting you create connections (commonly called relationships) between different things.  The relationships between two different things in MSAccess can be very simple (such as a contact at a customer and the customer itself) or complex.  In the example below, the blue boxes represent the major things we're tracking in our MS Access database tables, and the reports at right show how you can join the related information for analysis and reporting.


Data is stored in Microsoft Access tables (think of them as mini-spreadsheets that store only one type of thing).  A table can have many fields (think of them as columns in your spreadsheet).  Each field in a table can be set up to allow or prevent users from entering certain information (for example, you could say one field only accepts dates, another can only allow a user to enter a numeric value, while another lets them enter anything they want).
Once you have your MS Access tables, fields, and relationships set up, you can create data entry forms that use those tables to store your information and later create reports with the data.  Microsoft Access forms are incredibly easy (and fun) to design with a wysiwyg form design tool.  And you can use MS Access forms to simplify data entry for users by grouping related fields together, and hiding fields they don't need to enter.  The Microsoft Access Command Button Wizard even helps you to create simple buttons for your forms without understanding how to create macros and Visual Basic. link:  www.opengatesw.net › MS Access Products › MS Access Tips

What is Microsoft Access Used For?

    A Brief MS Access Tutorial - Page 2


seSpreadsheet (Excel)Desktop Database (MS Access)SQL Server or MySQL with Access as the user interface
Validate basic user input (e.g., for a single field/cellYesYesYes
Complex user input validation or events (if field X = Y, and field Z is empty, perform some action)Challenging to accomplishYesYes
Data arranged in a few columns without much repetitionYesYesYes
Rows/records supportedExcel 2000 and Excel 2003: 65,535 rows

Excel 2007 and Excel 2010: 1,048,576 rows
Unlimited (up to 2GB/table)Unlimited
Simple cross-referencesYes (vlookup and hlookup)YesYes
Complex data analysis/queriesLimitedYesYes
Events based on user actions (when user exits a field/cell do X, when they mouse over a field/cell do Y)NoYesYes
Multiple users, but generally accessing data at different timesNoYesYes
Multiple users, accessing data at the same timeNoYes (but can be slow depending on network speed)Yes
Frequent mass-update operationsChallenging to accomplish, time intensiveYesYes
Multiple data entry formsNoYesYes
Mail Merge with WordYesYesYes
ReportingChallenging to accomplishYesYes
Automated backupsChallenging to accomplishPossible with VB coding, backup software,or UI Builder for Microsoft AccessYes
Record-level auditingNoPossible with VB coding or UI Builder for Microsoft AccessYes
Ability to hide the inner workings of your project from the userChallenging to accomplishYes (MDE files and ACCDE files)Yes
Expertise RequiredLowFor simple databases:  Low/Moderate

For complex requirements: Moderate-to-High
High
Attaching files/links to fieldsNoYes (MS Access 2007 and Access 2010)Yes
Sharing information on the WebYes (Excel 2007 and Excel 2010)Yes (Microsoft Access 2010)Yes (with a web front-end like PHP or ASP.NET)
talk about when you should use Microsoft Access versus Excel or SQL Server. 


How do I get started with MS Access?

With millions of users, there is a vast wealth of resources to help you. From message boards, Access books, tutorials, blogs, and Microsoft Access addins, you will have many resources to help you succeed.  OpenGate Software has an entire MSAccess Resource Center dedicated to Microsoft Access as well.

Do I need MS Access 2007 or MSAccess 2010?

Access 2000 and Access 2003 remain widely used.  You do not need to upgrade to Access 2007 or Access 2010 to see the benefits of using a database compared to Excel.  Best of all, if you design your database in Access 2000, Access 2003, or Access XP, you can migrate to Access 2007 or Access 2010 when you decide to purchase the upgrade license.  OpenGate has also created a helpful comparison of MSAccess Versions from 2000 to 2010.

How do I access Microsoft Access?

To find out if you have MSAccess installed on your machine, select Start>>Programs>>Microsoft Office.  In the Microsoft Office start meny folder you will see Microsoft Access listed if it is installed.  Microsoft Office Access comes with the Professional Edition of Office, or can be purchased separately.  Many companies purchase and install Access by default.

What if I don't have time to learn about Access Database design?

Que the shameless product plug!  Our Designer for Microsoft Access product is meant to save you hours (literally, hours) of time reading about Access, trial and error creating your database, not to mention the frustration.  Designer walks you through a Q&A wizard in plain language.  You tell Designer what you want to track in your database, and how you want it to look.  Designer does all the heavy lifting like creating relationships, fields, data types, indexes, and data entry forms.