access 2007 vba bible phần 1 doc

73 345 0
access 2007 vba bible phần 1 doc

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

[...]... 10 4 TableDefs and Fields 10 6 The ADO Object Model 11 0 Connection 11 0 Command 11 3 Recordset 11 6 Record 12 9 Stream 12 9 Converting DAO Code to ADO Code 12 9 Summary 13 1 Chapter 6: Working with Word Documents and Templates 13 3 Built-in Word Export in Office 2007 13 5 Exporting Access. .. tab of the Ribbon, as shown in Figure 1. 10 11 1 Part I The Office Components and What They Do Best FIGURE 1. 10 Selecting the Report Wizard to create a report Select the fields to include on the report (see Figure 1. 11) and click Next FIGURE 1. 11 Selecting fields for a report 12 Storing and Displaying Data in Access On the next screen of the wizard (see Figure 1. 12), select the top-level grouping you... 13 8 The Word Object Model 13 9 Creating a New, Blank Word Document 14 0 Creating a Word Document Based on a Template 14 1 Using a Query to Concatenate Data for Export 14 3 Choosing a Method for Merging Access Data to Word 14 5 Working with Word Document Properties 14 6 Word Bookmarks 16 5 The TypeText Method 17 0 Word Mail Merge 17 5... Extras 2007 Add-in 510 Extras Options 511 Back up Database 512 Back up Database Back End 512 List Query Fields 513 List Table Fields 514 Summary 514 Chapter 15 : Customizing the Ribbon with XML in Access Databases and Add-ins 515 Useful Tools for Creating and Editing XML Code 517 ... 18 2 Chapter 7: Working with Excel Worksheets 18 3 Simply Exporting Access Data to Excel 18 4 The Excel Object Model 18 7 Minimally Formatted Worksheets 19 1 Tabular Worksheets Formatted from Code 19 5 Timesheets 202 Summary 218 viii Contents Chapter 8: Working with Outlook Items 219 Exporting Access. .. Part II: Writing VBA Code to Exchange Data between Office Components 87 Chapter 5: Working with Access Data 89 Working with Older Format Databases in Access 2007 91 Disambiguating References to Object Model Components 91 The DAO Object Model (Old and New) 96 New Objects in the Access 2007 DAO Object Model 97 Hidden Objects in the Access 2007 DAO Object Model... FIGURE 1. 12 Selecting a major grouping level for a report The next screen lets you select sub-groups, if desired; I accepted the default (no further subgrouping, as shown in Figure 1. 13) FIGURE 1. 13 Select sub-grouping levels for a report 13 1 Part I The Office Components and What They Do Best Next, select sorting and summarizing options; I selected ProductName for sorting, as shown in Figure 1. 14 FIGURE... ProductName for sorting, as shown in Figure 1. 14 FIGURE 1. 14 Selecting sorting and summarizing options for a report On the report layout screen, depicted in Figure 1. 15, I selected the Block option FIGURE 1. 15 Selecting the Block report layout option 14 Storing and Displaying Data in Access Select a style on the next screen, shown in Figure 1. 16 (bear in mind that some of the more artistic styles won’t... and XML Files 3 41 Emailing Exported Text Files 348 Summary 350 Chapter 11 : Synchronizing Access and Outlook Contacts 3 51 Creating a Denormalized Table from a Set of Linked Tables 352 Comparing Outlook and Access Contacts 359 Re-creating the Flat-file Tables of Access and Outlook Data 3 61 Copying Contact Data from Access to Outlook (or Vice... Notepad 2007 517 VB 2005 XML Editor 518 Office 2007 Custom UI Editor 518 Customizing the Ribbon in an Access Database 519 Creating the XML Code 522 Adding a New Tab, Group, and Controls to the Ribbon 527 Removing a Tab or Group from the Ribbon 528 VBA Code 542 Form Ribbons 547 Customizing the Ribbon with an Access . and Fields 10 6 The ADO Object Model 11 0 Connection 11 0 Command 11 3 Recordset 11 6 Record 12 9 Stream 12 9 Converting DAO Code to ADO Code 12 9 Summary 13 1 Chapter 6: Working with Word Documents and. Extras 2007 Add-in 510 Extras Options 511 Back up Database 512 Back up Database Back End 512 List Query Fields 513 List Table Fields 514 Summary 514 Chapter 15 : Customizing the Ribbon with XML in Access. Access ™ 2007 VBA Bible For Data-Centric Microsoft ® Office Applications Helen Feddema 01_ 047026 ffirs.qxp 4/2/07 9:39 PM Page iii 01_ 047026 ffirs.qxp 4/2/07 9:39 PM Page ii Access ™ 2007 VBA

Ngày đăng: 14/08/2014, 06:22

Từ khóa liên quan

Mục lục

  • Access 2007 VBA Bible

    • About the Author

    • Credits

    • Contents

    • Acknowledgments

    • Introduction

      • Who Should Read This Book

      • How This Book Is Organized

      • What's on the Companion Web Site

      • Minimum Requirements

      • Where to Go from Here

      • A Brief History of Office Data Exchange

      • Part I: The Office Components and What They Do Best

        • Chapter 1: Storing and Displaying Data in Access

          • Storing Data in Access

          • Displaying Data in Access Forms and Reports

          • Summary

          • Chapter 2: Creating Word Documents from Access

            • Filling Word Documents with Access Data Using the TypeText Method

            • Using Word Templates for Creating Formatted Word Documents

            • Form Field Documents

            • Summary

            • Chapter 3: Analyzing Data with Excel

              • Exporting Access Data to an Unformatted Worksheet

              • Using Excel Templates to Create Formatted Worksheets Filled with Access Data

Tài liệu cùng người dùng

  • Đang cập nhật ...

Tài liệu liên quan