Logo
programming4us
programming4us
programming4us
programming4us
Home
programming4us
XP
programming4us
Windows Vista
programming4us
Windows 7
programming4us
Windows Azure
programming4us
Windows Server
programming4us
Windows Phone
 
programming4us
Windows 7

Microsoft Access 2010 : Copying to and from Other Office Programs

- How To Install Windows Server 2012 On VirtualBox
- How To Bypass Torrent Connection Blocking By Your ISP
- How To Install Actual Facebook App On Kindle Fire
3/12/2012 3:23:21 PM
Sometimes the quickest and easiest way to get information into or out of a database is to just copy it and paste it where you want it. This technique works particularly well for getting data out of an Access table and into Word or Excel. Information that you paste into a Word document becomes a Word table, complete with a heading row containing the field captions as column headings. Information that you paste into an Excel worksheet appears in the normal row-and-column format.

Getting data into an Access table by using this technique is a little more complicated. The data you are pasting must meet all the criteria for entering it by hand (input mask, validation rules, field size, and so on), and you must have the correct table cells selected when you use the Paste command. If Access encounters a problem when you attempt to paste a group of records, it displays an error message and pastes the problem records into a Paste Errors table. You can then troubleshoot the problem in that table, fix whatever is wrong, and try copying and pasting again.

Tip

To paste an entire table from one Access database to another, open both databases, copy the table from the source database to the Clipboard, and then paste it in the destination database. You can paste the table data and/or table structure as a new table or append the data to an existing table.

In this exercise, you’ll copy and paste records between an Access database table, an Excel worksheet, and a Word document.

Set Up

You need the GardenCompany10 database you worked with in the preceding exercise and the Shippers workbook located in the Example10 practice file folder to complete this exercise. Open the GardenCompany10 database, open the Customers table in Datasheet view, and then follow the steps.

  1. Point to the row selector of the first record in the table, and when the pointer changes to a right arrow, hold down the mouse button and drag through six records.

  2. On the Home tab, in the Clipboard group, click the Copy button.

    image with no caption

    Keyboard Shortcut

    Press Ctrl+C to copy a selection to the Clipboard.


  3. Start Excel.

  4. With cell A1 selected in the blank worksheet, on the Excel Home tab, in the Clipboard group, click the Paste button.

    image with no caption

    Keyboard Shortcut

    Press Ctrl+V to paste a cut or copied item from the Clipboard.

    Excel pastes the records into the worksheet.

    Keyboard Shortcut

    The Access field names have become Excel column headings.

  5. On the Windows Taskbar, click the Access button to switch back to Access.

    Now let’s copy and paste only a few fields of a few records.

  6. In the FirstName field, point to the left border of the value Ted, and when the pointer changes to a thick cross, hold down the mouse button, and drag down and to the right until the FirstName through Region fields are selected for six records.

  7. In the Clipboard group, click the Copy button.

  8. Switch back to Excel, click cell A9, and then in the Excel Clipboard group, click the Paste button.

    Excel pastes in the new selection, again with column headings. The copied data remains on the Office Clipboard

  9. Start Word. Then on the Home tab, in the Clipboard group, click the Paste button.

    Word pastes the selection as a nicely formatted table.

    Keyboard Shortcut

    The Customers title reflects the name of the table from which this data came.

  10. Exit Word and Excel, without saving your changes. Then close the Customers table.

    Now let’s copy the data from an Excel worksheet and paste it into a new table in the current database.

  11. Start Windows Explorer, navigate to your Exmaple10 practice file folder, and double-click the Shippers Excel workbook.

    Excel starts and opens the Shippers workbook.

  12. Select cells A1:H6, and on the Home tab, in the Clipboard group, click the Copy button.

  13. Switch back to Access, right-click in the Tables area of the Navigation pane, and click Paste.

    Access asks whether the first row of data contains column headings.

  14. Click Yes.

  15. When Access notifies you that the import process was successful, click OK.

    The new Shippers table is added to the Tables area of the Navigation pane.

  16. Double-click the Shippers table to open it, and verify that all records were successfully copied.

Clean Up

Exit Excel. Then close the Shippers table and the GardenCompany10 database.

Other -----------------
- Microsoft Excel 2010 : Refreshing Pivot Table Data, Adding a Report Filter & Adding Pivot Table Data
- Microsoft Excel 2010 : Creating a Pivot Table & Rearranging a Pivot Table
- Windows 7 : Virtualization (part 2) - Native Hard Disk Support in Windows 7
- Windows 7 : Virtualization (part 1)
- Microsoft Project 2010 : Putting a Price Tag on Your Project & Incorporating Resource Costs
- Customizing Project 2010 : Creating and Editing Views
- Microsoft Outlook 2010 : Processing Messages Automatically - Controlling Rules & Sharing Rules with Others
- Microsoft Outlook 2010 : Processing Messages Automatically - Creating and Using Rules
- Managing Printing : Migrating Print Servers
- Managing Printing : Deploying Printers Using Group Policy
 
 
Top 10
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 2) - Wireframes,Legends
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 1) - Swimlanes
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Formatting and sizing lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Adding shapes to lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Sizing containers
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 3) - The Other Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 2) - The Data Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 1) - The Format Properties of a Control
- Microsoft Access 2010 : Form Properties and Why Should You Use Them - Working with the Properties Window
- Microsoft Visio 2013 : Using the Organization Chart Wizard with new data
Trailers Game
- The Banner Saga 2 [PS4/XOne/PC] PC Launch Trailer
- Welkin Road [PC] Early Access Trailer
- 7th Dragon III Code: VFD [3DS] Character Creation Trailer
- Human: Fall Flat [PS4/XOne/PC] Coming Soon Trailer
- Battlefleet Gothic: Armada [PC] Eldar Trailer
- Neon Chrome [PS4/XOne/PC] PC Release Date Trailer
- Rocketbirds 2: Evolution [Vita/PS4] Launch Trailer
- Battleborn [PS4/XOne/PC] 12 Min Gameplay Trailer
- 7 Days to Die [PS4/XOne/PC] Console Trailer
- Total War: Warhammer [PC] The Empire vs Chaos Warriors Gameplay Trailer
- Umbrella Corps [PS4/PC] Mercenary Customization Trailer
- Niten [PC] Debut Trailer
- Stellaris [PC] Aiming for the Stars - Dev. Diary Trailer #1
- LawBreakers [PC] Dev Diary #4: Concept Art Evolutions
programming4us programming4us
Popular tags
Microsoft Access Microsoft Excel Microsoft OneNote Microsoft PowerPoint Microsoft Project Microsoft Visio Microsoft Word Active Directory Biztalk Exchange Server Microsoft LynC Server Microsoft Dynamic Sharepoint Sql Server Windows Server 2008 Windows Server 2012 Windows 7 Windows 8 windows Phone 7 windows Phone 8
programming4us programming4us
 
programming4us
Natural Miscarriage
programming4us
Windows Vista
programming4us
Windows 7
programming4us
Windows Azure
programming4us
Windows Server
programming4us
Game Trailer