Access Cookbook: Solutions to Common User Interface & Programming Problems

Not a reference book, and not a tutorial either, the new second edition of the highly regarded Access Cookbook is an uncommonly useful collection of solutions to problems that Access users and developers are likely to face as they attempt to build increasingly complex applications.Although using any single "recipe" in the book will more than pay back the cost of the book in terms of both hours saved and frustration thwarted, Access Cookbook, Second Edition is much more than a handy assortment of cut-and-paste code.Each of the "recipes" examine a particular problem--problems that commonly occur when you push the upper limits of Access, or ones that are likely to trip up a developer attempting to design a more elegant Access application--even some things you never knew Access could do. The authors then, in a clear, accessible, step-by-step style, present the problems' solution. Following each "recipe" are insights on how Access works, potential pitfalls, interesting programming techniques that are used in the solution, and how and why the solution works, so you can adapt the problem-solving techniques to other similar situations.Fully updated for Access 2003, Access Cookbook, Second Edition is also one of the first books to thoroughly explore new support for .NET managed code and XML. All of the practical, real-world examples have been tested for compatibility with Access 2003, Windows XP, and Windows Server 2003. This updated new edition also covers Access and SharePoint, Access and SmartTags, Access and .NET; and Access and XML.Access power users and programmers at all levels, from the relatively inexperienced to the most sophisticated, will rely on the Access Cookbook for quick solutions to gnarly problems. With a dog-eared copy of Access Cookbook at your side, you can spend your time and energy where it matters most: working on the interesting facets of your Access application, not just the time-consuming ones.

1100302858
Access Cookbook: Solutions to Common User Interface & Programming Problems

Not a reference book, and not a tutorial either, the new second edition of the highly regarded Access Cookbook is an uncommonly useful collection of solutions to problems that Access users and developers are likely to face as they attempt to build increasingly complex applications.Although using any single "recipe" in the book will more than pay back the cost of the book in terms of both hours saved and frustration thwarted, Access Cookbook, Second Edition is much more than a handy assortment of cut-and-paste code.Each of the "recipes" examine a particular problem--problems that commonly occur when you push the upper limits of Access, or ones that are likely to trip up a developer attempting to design a more elegant Access application--even some things you never knew Access could do. The authors then, in a clear, accessible, step-by-step style, present the problems' solution. Following each "recipe" are insights on how Access works, potential pitfalls, interesting programming techniques that are used in the solution, and how and why the solution works, so you can adapt the problem-solving techniques to other similar situations.Fully updated for Access 2003, Access Cookbook, Second Edition is also one of the first books to thoroughly explore new support for .NET managed code and XML. All of the practical, real-world examples have been tested for compatibility with Access 2003, Windows XP, and Windows Server 2003. This updated new edition also covers Access and SharePoint, Access and SmartTags, Access and .NET; and Access and XML.Access power users and programmers at all levels, from the relatively inexperienced to the most sophisticated, will rely on the Access Cookbook for quick solutions to gnarly problems. With a dog-eared copy of Access Cookbook at your side, you can spend your time and energy where it matters most: working on the interesting facets of your Access application, not just the time-consuming ones.

23.99 In Stock
Access Cookbook: Solutions to Common User Interface & Programming Problems

Access Cookbook: Solutions to Common User Interface & Programming Problems

Access Cookbook: Solutions to Common User Interface & Programming Problems

Access Cookbook: Solutions to Common User Interface & Programming Problems

eBook

$23.99  $31.99 Save 25% Current price is $23.99, Original price is $31.99. You Save 25%.

Available on Compatible NOOK devices, the free NOOK App and in My Digital Library.
WANT A NOOK?  Explore Now

Related collections and offers


Overview

Not a reference book, and not a tutorial either, the new second edition of the highly regarded Access Cookbook is an uncommonly useful collection of solutions to problems that Access users and developers are likely to face as they attempt to build increasingly complex applications.Although using any single "recipe" in the book will more than pay back the cost of the book in terms of both hours saved and frustration thwarted, Access Cookbook, Second Edition is much more than a handy assortment of cut-and-paste code.Each of the "recipes" examine a particular problem--problems that commonly occur when you push the upper limits of Access, or ones that are likely to trip up a developer attempting to design a more elegant Access application--even some things you never knew Access could do. The authors then, in a clear, accessible, step-by-step style, present the problems' solution. Following each "recipe" are insights on how Access works, potential pitfalls, interesting programming techniques that are used in the solution, and how and why the solution works, so you can adapt the problem-solving techniques to other similar situations.Fully updated for Access 2003, Access Cookbook, Second Edition is also one of the first books to thoroughly explore new support for .NET managed code and XML. All of the practical, real-world examples have been tested for compatibility with Access 2003, Windows XP, and Windows Server 2003. This updated new edition also covers Access and SharePoint, Access and SmartTags, Access and .NET; and Access and XML.Access power users and programmers at all levels, from the relatively inexperienced to the most sophisticated, will rely on the Access Cookbook for quick solutions to gnarly problems. With a dog-eared copy of Access Cookbook at your side, you can spend your time and energy where it matters most: working on the interesting facets of your Access application, not just the time-consuming ones.


Product Details

ISBN-13: 9780596552527
Publisher: O'Reilly Media, Incorporated
Publication date: 03/24/2004
Sold by: Barnes & Noble
Format: eBook
Pages: 840
File size: 10 MB

About the Author

Ken Getz is a senior consultant with MCW Technologies and splits his time between programming, writing, and training. He specializes in tools and applications written in Visual Studio .NET and Visual Basic. Ken is co-author of best-selling several books, including Access 2002 Developer's Handbooks with Paul Litwin and Mike Gunderloy, Visual Basic Language Developer's Handbook with Mike Gilbert, and VBA Developer's Handbook with Mike Gilbert (Sybex). He co-wrote several training courses for Application Developer's Training Company (www.appdev.com), including VB.NET, ASP.NET, Access 2000 and 97, Visual Basic 6, and Visual Basic 5 seminars.He has also recorded video training for AppDev covering VB.NET, ASP.NET, VB6, Access 2000, and Access 97. Ken is a frequent speaker at technical conferences and spoken often at Microsoft's Tech-Ed conference. Ken's also a technical editor for Access-VB-SQL Advisor magazine and a columnist for Informant Publications' asp.netPRO magazine.

Paul Litwin is the president of Litwin Consulting, providing development, mentoring, and training in ASP, ASP.NET, Visual Basic, SQL Server, XML, Microsoft Access, and related technologies. Paul was the founding editor of the Smart Access Newsletter and recently became the editor-in-chief of asp.netPRO Magazine(www.aspnetpro.com). He is the author of a number of books, articles, and training materials on Access, VBA, Web development, ASP, and ASP.NET. Paul is one of the founders of Deep Training, a developer-owned training company providing training on Microsoft.NET (www.deeptraining.com). He is the conference chair of Microsoft ASP.NET Connections (www.asp-connections.com) and Office Developer Connections (www.msofficeconnections.com) and speaks regularly at other industry events, including Microsoft TechEd and Microsoft Office Deployment and Development Conference.

Andy Baron is a senior consultant at MCW Technologies, a Microsoft MVP (Most Valuable Professional) since 1995, and a contributing editor for Advisor Media and Pinnacle Publications. Andy is co-author of the Microsoft Access Developers Guide to SQL Server (Sams), and he writes and presents courseware for Application Developers Training Co.

Table of Contents

Prefaceix
1.Queries1
1.1Specify Query Criteria at Runtime2
1.2Using a Form-Based Parameter Query4
1.3Limit the Items in One Combo Box Based on the Selected Item in Another7
1.4Make Formatted Date Columns Sort Correctly in a Crosstab Query12
1.5Group Mailing Labels by Address15
1.6Use a Field in One Table to Update a Field in Another Table18
1.7Use a VBA Variable to Filter a Query22
1.8Use a Query to Retrieve a Random Set of Rows26
1.9Create a Query That Will Show Aging of Receivables28
1.10Create a Join That's Based on a Comparison Other than Equality33
1.11Create a Query to Combine Data from Two Tables with Similar Structures37
1.12Create a Combo Box That Allows a User to Select N/A40
1.13Use a Query to Show the Relationship Between Employees and Supervisors44
1.14Create a Query That Uses Case-Sensitive Criteria49
1.15Use a Query to Create a New Table Complete with Indexes51
1.16Save My Queries in a Table for Better Programmatic Access and Security54
1.17Create a Recordset Based on a Parameter Query from VBA Code57
2.Forms61
2.1Make Custom Templates for Forms and Reports61
2.2Highlight the Current Field in Data-Entry Forms65
2.3Restrict the User to a Single Row on a Form69
2.4Use an Option Group to Collect and Display Textual Information72
2.5Display Multiple Pages of Information on One Form76
2.6Provide Record Navigation Buttons on a Form79
2.7Size a Form's Controls to Match the Form's Size85
2.8Make a Simple "Searching" List Box90
2.9Create a Replacement for Access's InputBox94
2.10Store the Sizes and Locations of Forms101
2.11Open Multiple Instances of a Form105
3.Reports110
3.1Create a Report with Line Numbers111
3.2Print the Value of a Parameter on a Report112
3.3Create a Report with Multiple Columns116
3.4Print a Message on a Report if Certain Conditions Are Met120
3.5Create a Page-Range Indicator on Each Page125
3.6Create a Simple Bar Graph on a Report128
3.7Create a Page Total131
3.8Avoid Unwanted Blank Rows on Mailing Labels134
3.9Suppress Printing a Report if There Are No Records to Print138
3.10Print Different Headers or Footers on Odd and Even Pages140
3.11Make a Vertical Line the Same Height as a CanGrow/CanShrink Control144
3.12Alternate Gray Bars on My Reports148
3.13Print Only Records Matching a Form's Filter151
3.14Keep a Report from Breaking at an Inappropriate Place156
3.15Customize a Report's Grouping and Sorting at Runtime160
4.Applications171
4.1Convert Queries into Embedded SQL Statements171
4.2Build an Object Inventory174
4.3Verify That Objects Use Consistent Settings181
4.4Hide Access Screen Activity192
4.5Find out What Language Version of Access Is Installed197
4.6Internationalize Text in Your Applications200
4.7Change and Reset the Access Caption Bar206
4.8Use the Windows File Open/Save Common Dialogs210
4.9Clean Test Data out of a Database When You're Ready to Ship It218
4.10Secure Your Access Database221
5.Printers227
5.1Retrieve a List of All the Installed Output Devices228
5.2Set and Retrieve the Name of the Default Output Device231
5.3Programmatically Change Margin and Column Settings for Reports233
5.4Programmatically Change Printer Options237
5.5Programmatically Control the Paper Source241
5.6Retrieve Information About a Report or Form's Selected Printer244
5.7Choose an Output Device at Runtime246
5.8Find Which Reports Are Not Set to Print to the Default Printer248
6.Data252
6.1Save with Each Record the Name of the Last Person Who Edited It and the Date and Time252
6.2Determine if You're on a New Record in a Form257
6.3Find All Records with Names That Sound Alike260
6.4Find the Median Value for a Field264
6.5Quickly Find a Record in a Linked Table270
6.6Get a Complete List of Field Properties from a Table or Query274
6.7Create and Use Flexible AutoNumber Fields278
6.8Back Up Selected Objects to Another Database283
7.VBA293
7.1Build Up String References with Embedded Quotes293
7.2Create a Global Procedure Stack298
7.3Create an Execution Time Profiler304
7.4Multitask Your VBA Code309
7.5Programmatically Add Items to a List or Combo Box313
7.6Pass a Variable Number of Parameters to a Procedure325
7.7Sort an Array in VBA330
7.8Fill a List Box with a List of Files334
7.9Handle Object Properties, in General338
7.10Detect Whether an Object Exists345
8.Optimization349
8.1Accelerate the Load Time of Forms349
8.2Make Slow Forms Run Faster357
8.3Make Combo Boxes Load Faster366
8.4Use Jet Engine Optimizations to Speed Up Queries367
8.5Accelerate VBA Code371
8.6Test the Comparative Benefits of Various Optimization Techniques375
8.7Accelerate Multiuser Applications377
8.8Accelerate Client/Server Applications383
9.User Interface387
9.1Create Context-Sensitive Keyboard Shortcuts388
9.2Create a Form with No Menu or Toolbar393
9.3Create a Geographical Map Interface396
9.4Mark a Record on a Form and Return to It Later400
9.5Carry Data Forward from Record to Record407
9.6Create a Combo Box That Accepts New Entries411
9.7Create Animated Buttons416
9.8Create an Expanding Dialog421
9.9Use an ActiveX Control426
9.10Create a Generic, Reusable Status Meter434
10.Multiuser Applications441
10.1Properly Secure Your Database441
10.2Maintain Multiple Synchronized Copies of the Same Database451
10.3Create a Transaction Log456
10.4Send Messages to Other Users Without Using Email459
10.5Programmatically Track Users and Groups468
10.6Adjust an Application Based on Who's Logged In474
10.7List All Users with Blank Passwords477
10.8Track Which Users Have a Shared Database Open481
10.9Determine if a Record Is Locked and by Whom484
10.10Set a Maximum Locking Interval for a Record488
11.Windows APIs494
11.1Remove a Form's System Menu and Maximize/Minimize Buttons495
11.2Flash a Window's Titlebar or Icon499
11.3Classify Keypresses in a Language-Independent Manner502
11.4Restrict Mouse Movement to a Specific Region505
11.5Run Another Program and Pause Until It's Done507
11.6Exit Windows Under Program Control511
11.7Run the Application Associated with a Data File514
11.8Check to See if an Application Is Already Running519
11.9Retrieve a List of All Top-Level Windows523
11.10Close a Running Windows Application526
11.11Set File Date and Time Stamps528
11.12Retrieve Information About Available Drives531
11.13Collect and Display Information on the System and the Access Installation535
11.14Create and Cancel Network Connections Programmatically544
12.Automation553
12.1Play an Embedded Sound File from Within an Application554
12.2Print an Access Report from Excel559
12.3Use Excel's Functions from Within Access564
12.4Perform a Mail Merge from Access to Word573
12.5Add an Item to the Startup Group577
12.6Send Access Data to Excel and Create an Excel Chart588
12.7Create a PowerPoint Presentation from Access Data595
12.8Add a Contact and Send Email Through Outlook609
13.Data Access Pages616
13.1Replace Navigation Button Images with Your Own Images617
13.2Use Labels or Other Controls for Record Navigation620
13.3Change the Text Displayed with a Navigation Control622
13.4Create a DAP that Allows You to Update Data624
13.5Create One File to Store Connection Information for All DAPs in an Application626
13.6Programmatically Change the Connection String for All Pages in a Database632
13.7Change the Default Settings for New DAPs636
13.8Use Parameters Set in One DAP to Open Another639
14.SQL Server645
14.1Dynamically Link SQL Server Tables at Runtime645
14.2Dynamically Connect to SQL Server from an ADP651
14.3Share an ADP from a Shared Network Folder654
14.4Fill the Drop-Down Lists When Using ServerFilterByForm in an ADP656
14.5Pass Parameters to Stored Procedures from Pass-Through Queries in an MDB659
14.6Pass Parameters to Stored Procedures from an ADP663
14.7Use Controls as Parameters for the Row Source of Combo and List Boxes in an ADP665
14.8Reference Data from More than One SQL Server Database in an ADP668
14.9Use Views to Update Data in an ADP When Users Don't Have Permissions on Tables670
15.Office Web and SharePoint674
15.1Work with SharePoint Data from Access674
15.2Create a SharePoint Data View Web Part Based on Access Data677
15.3Conditionally Format a Data View Web Part680
15.4Create a Master/Detail Page using Data View Web Parts682
15.5Post Web Form Data to an Access Database687
15.6Create a Web Frontend to an Access Table Using FrontPage692
16.Smart Tags698
16.1Use the Built-in Smart Tags699
16.2Display Multiple Smart Tags on Multiple Forms702
16.3Display Smart Tags when Application Starts704
16.4Execute a Smart Tag Action Without Displaying the Smart Tag706
16.5Create a Smart Tag on a Table in an Access Project709
16.6Create a Custom Smart Tag to Get a Weather Report711
16.7Create a Custom Smart Tag DLL714
17..NET723
17.1Call a .NET Component from Access724
17.2Call a .NET Component Containing a Parameterized Constructor728
17.3Retrieve Access Data from an ASP.NET Application731
17.4Call a Web Service from Access734
17.5Work with a Web Service that Returns a DataSet738
17.6Print an Access Report from .NET Windows Form Application744
18.XML751
18.1Import XML Structured as Elements755
18.2Import XML into Existing Tables757
18.3Import XML Using a Schema (XSD)760
18.4Export XML764
18.5Exporting Selected Columns to an HTML Table767
18.6Export Unrelated Tables771
18.7Export Using a Where Clause773
18.8Export a Report775
Index783
From the B&N Reads Blog

Customer Reviews