Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống
1
/ 985 trang
THÔNG TIN TÀI LIỆU
Thông tin cơ bản
Định dạng
Số trang
985
Dung lượng
24,76 MB
Nội dung
[...]... why you might want to use each of them Access 2003VBA Programmer’s Reference This book is separated into two sections The chapters provide tutorial information and the numerous appendices provide the reference material you’ll need to write VBA code within Access While the chapters are designed to build upon one another to give you a detailed guide to VBA in Access, each chapter can be read and applied... certain Access 97 databases without converting them, thus allowing multiple versions to access the same database There have not been a large number of changes to VBA in Access2003 However, the changes that have been made offer developers some distinct advantages We’ve included an entire chapter (Chapter 3) about new features in Access2003 What Is VBA? Microsoft Visual Basic for Applications (VBA) allows... Events Variables and VBA Syntax Variables Other VBA Structures Comments Line Continuation Constants Enums Summary Chapter 5: Using the VBA Editor Anatomy of the VBA Editor Your Access Database and VBA Project—Better Together Using the Object Browser Testing and Debugging VBA Code Summary Chapter 6: Using DAO to Access Data 74 74 75 75 89 89 91 93 94 95 97 97 99 99 102 112 113 Direct Access Objects Why... need if you’re new to Access or VBA After a detailed look at the new features in Access 2002 and 2003, we’ve provided information on the building blocks of VBA, such as objects, properties, methods, and events An introduction to the VBA Editor and its various debugging tools follows Accessing Data After the introductory material, Chapters 6 and 7 focus on accessing data by using VBA Both DAO and ADO... power of Microsoft Access more effectively, you can add VBA code to your Access databases By using VBA code, you can respond to application-level events, display forms and reports, manipulate toolbars, and even launch external applications or control certain aspects of Windows The Evolution of Access and VBA Microsoft Access has had a rich history Version 1.0 was the initial version of Access that ran... the Macro Builder Using the Code Builder Summary Chapter 2: Access, VBA, and Macros VBA within Access 8 8 9 10 10 13 14 19 20 21 22 23 24 25 27 27 Writing Code within Modules 27 VBA versus Macros in Access 29 Macros in Access2003 Advantages to Using VBA over Macros Summary Chapter 3: New Features in Access2003 (and 2002) Easy Upgrading Database Structure and Management Tools for Developers 30 34 35... of books on Microsoft Access available for purchase You can buy books from beginner to advanced level and easily create simple databases within a few hours In particular, any of the following titles will help you learn Microsoft Access 2003: ❑ Access2003 Bible, Cary N Prague, Michael R Irwin, Jennifer Reardon, ISBN: 0764539868, Wiley Publishing, Inc ❑ Access 2003 All-in-One Desk Reference for Dummies,... give Microsoft Access 2.0 a chance Access 2.0 worked very well on both Windows 95 and Windows NT; however, it was missing much of the 32-bit API (application programming interface) and couldn’t work with long filenames Microsoft Access went through several more versions (95, 97, 2000, and 2002) before the current release, Access 2003Access 2003, released in October 2003, includes some additional enhancements,... an Access 97 database without converting it to an updated format Users of Access 2000 and Access 2002 were prompted to convert an Access 97 database to Access 2000 format before they could use the database This often caused problems in corporate installations where often, multiple versions of the Microsoft Office software suite were installed on different computers or in different departments Access2003. .. Information Is a Two-Way Street Access and Outlook—Sharing Data with Others 445 446 Working with Outlook’s Security Features Creating Other Types of Outlook Items from Access 450 451 Sending Information from Access to Excel 452 Provide Management with Flexible Data Access 452 Exchanging Information with Microsoft Word 460 The Easy Way—Use Access VBA to Start Your Merge The Hard Way—Using VBA to Set Up Your Merge . 25 Chapter 2: Access, VBA, and Macros 27 VBA within Access 27 Writing Code within Modules 27 VBA versus Macros in Access 29 Macros in Access 2003 30 Advantages to Using VBA over Macros. to Microsoft Access 7 Why Use Microsoft Access? 7 Is Access the Only Database I’ll Ever Need? 8 Microsoft Access 8 MSDE 8 SQL Server 9 Automating Microsoft Access Without VBA Code 10 The. IML/FFX T1: IML WY007-FM WY007-Sample WY007-Sample-v4.cls February 28, 2004 13:37 iv Access 2003 VBA Programmer’s Reference Published by Wiley Publishing, Inc. 10475 Crosspoint Boulevard Indianapolis,