Access Cookbook
Home > Computing and Information Technology > Databases > Database software > Access Cookbook
Access Cookbook

Access Cookbook

|
     0     
5
4
3
2
1




Out of Stock


Notify me when this book is in stock
About the Book

This a comprehensive collection of problems, solutions,and practical examples for the Access power user or programmer who is running up against some of the apparent limits of the Access user interface or of Access application development. The diverse problems and solutions presented here should be of interest to Access power users and programmers at all levels, from the relatively inexperienced to the most sophisticated. Each of the book's 14 chapters focuses on a particular topic area related to the Access environment or Access programming. Within each chapter, individual items follow a standardized format. The authors first pose the problem, and then present its solution. Finally, a discussion follows, which consists of extended analysis of the solution, an insightful examination of how Access works, or interesting programming techniques that are used in the solution but that you can also apply elsewhere. The kinds of problems posed and solved in the book include the following: specifying query criteria at runtime, rather than at design time; restricting the user to a single row of a form; preventing a report from printing if it has no records; making slow forms run faster; ensuring that user interface objects present a uniform, consistent appearance; controlling a printer's paper source programmatically; referencing data from multiple SQL server databases in a single Access Data project page; and using contact information from an Access database when sending email using Outlook. The accompanying CD-ROM includes Access databases that contain the solutions for all problems presented in the text.

Table of Contents:
Preface 1. Queries Specify Query Criteria at Runtime Using a Form-Based Parameter Query Limit the Items in One Combo Box Based on the Selected Item in Another Make Formatted Date Columns Sort Correctly in a Crosstab Query Group Mailing Labels by Address Use a Field in One Table to Update a Field in Another Table Use a VBA Variable to Filter a Query Use a Query to Retrieve a Random Set of Rows Create a Query That Will Show Aging of Receivables Create a Join That's Based on a Comparison Other than Equality Create a Query to Combine Data from Two Tables with Similar Structures Create a Combo Box That Allows a User to Select N/A Use a Query to Show the Relationship Between Employees and Supervisors Create a Query That Uses Case-Sensitive Criteria Use a Query to Create a New Table Complete with Indexes Save My Queries in a Table for Better Programmatic Access and Security Create a Recordset Based on a Parameter Query from VBA Code 2. Forms Make Custom Templates for Forms and Reports Highlight the Current Field in Data-Entry Forms Restrict the User to a Single Row on a Form Use an Option Group to Collect and Display Textual Information Display Multiple Pages of Information on One Form Provide Record Navigation Buttons on a Form Size a Form's Controls to Match the Form's Size Make a Simple "Searching" List Box Create a Replacement for Access's InputBox Store the Sizes and Locations of Forms Open Multiple Instances of a Form 3. Reports Create a Report with Line Numbers Print the Value of a Parameter on a Report Create a Report with Multiple Columns Print a Message on a Report if Certain Conditions Are Met Create a Page-Range Indicator on Each Page Create a Simple Bar Graph on a Report Create a Page Total Avoid Unwanted Blank Rows on Mailing Labels Suppress Printing a Report if There Are No Records to Print Print Different Headers or Footers on Odd and Even Pages Make a Vertical Line the Same Height as a anGrow/CanShrink Control Alternate Gray Bars on My Reports Print Only Records Matching a Form's Filter Keep a Report from Breaking at an Inappropriate Place Customize a Report's Grouping and Sorting at Runtime 4. Developing and Distributing Applications Convert Queries into Embedded SQL Statements Build an Object Inventory Verify That Objects Use Consistent Settings Hide Access Screen Activity Find out What Language Version of Access Is Installed Internationalize Text in Your Applications Change and Reset the Access Caption Bar Use the Windows File Open/Save Common Dialogs Clean Test Data out of a Database When You're Ready to Ship It Secure Your Access Database 5. Taming Your Printer Retrieve a List of All the Installed Output Devices Set and Retrieve the Name of the Default Output Device Programmatically Change Margin and Column Settings for Reports Programmatically Change Printer Options Programmatically Control the Paper Source Retrieve Information About a Report or Form's Selected Printer Choose an Output Device at Runtime Find Which Reports Are Not Set to Print to the Default Printer 6. Managing Data Save with Each Record the Name of the Last Person Who Edited It and the Date and Time Determine if You're on a New Record in a Form Find All Records with Names That Sound Alike Find the Median Value for a Field Quickly Find a Record in a Linked Table Get a Complete List of Field Properties from a Table or Query Create and Use Flexible AutoNumber Fields Back Up Selected Objects to Another Database 7. Exploring VBA in Microsoft Access Build Up String References with Embedded Quotes Create a Global Procedure Stack Create an Execution Time Profiler Multitask Your Access Basic Code Programmatically Add Items to a List or Combo Box Pass a Variable Number of Parameters to a Procedure Sort an Array in Access Basic Fill a List Box with a List of Files Handle Object Properties, in General Detect Whether an Object Exists 8. Optimizing Your Application Accelerate the Load Time of Forms Make Slow Forms Run Faster Make Combo Boxes Load Faster Use Rushmore to Speed Up Queries Accelerate VBA Code Test the Comparative Benefits of Various Optimization Techniques Accelerate Multiuser Applications Accelerate Client/Server Applications 9. Making the Most of Your User Interface Create Context-Sensitive Keyboard Shortcuts Create a Form with No Menu or Toolbar Create a Geographical Map Interface Mark a Record on a Form and Return to It Later Carry Data Forward from Record to Record Create a Combo Box That Accepts New Entries Create Animated Buttons Create an Expanding Dialog Use an ActiveX Control Create a Generic, Reusable Status Meter 10. Multiuser Applications Properly Secure Your Database Maintain Multiple Synchronized Copies of the Same Database Create a Transaction Log Send Messages to Other Users Without Using Email Programmatically Track Users and Groups Adjust an Application Based on Who's Logged In List All Users with Blank Passwords Track Which Users Have a Shared Database Open Determine if a Record Is Locked and by Whom Set a Maximum Locking Interval for a Record 11. The Windows API Remove a Form's System Menu and Maximize/Minimize Buttons Flash a Window's Titlebar or Icon Classify Keypresses in a Language-Independent Manner Restrict Mouse Movement to a Specific Region Run Another Program and Pause Until It's Done Exit Windows Under Program Control Run the Application Associated with a Data File Check to See if an Application Is Already Running Retrieve a List of All Top-Level Windows Close a Running Windows Application Set File Date and Time Stamps Retrieve Information About Available Drives Collect and Display Information on the System and the Access Installation Create and Cancel Network Connections grammatically 12. Automation Play an Embedded Sound File from Within an Application Print an Access Report from Excel Use Excel's Functions from Within Access Perform a Mail Merge from Access to Word Add an Item to the Startup Group Send Access Data to Excel and Create an Excel Chart Create a PowerPoint Presentation from Access Data Add a Contact and Send Email Through Outlook 13. Using Data Access Pages Replace Navigation Button Images with Your Own Images Use Labels or Other Controls for Record Navigation Change the Text Displayed with a Navigation Control Create a DAP That Allows You to Update Data Create One File to Store Connection Information for All DAPs in an Application Programmatically Change the Connection String for All Pages in a Database Change the Default Settings for New DAPs Use Parameters Set in One DAP to Open Another 14. Working with SQL Server Data Dynamically Link SQL Server Tables at Runtime Dynamically Connect to SQL Server from an ADP Share an ADP from a Shared Network Folder Fill the Drop-Down Lists When Using ServerFilterByForm in an ADP Pass Parameters to Stored Procedures from Pass-Through Queries in an MDB Pass Parameters to Stored Procedures from an ADP Use Controls as Parameters for the Row Source of Combo and List Boxes in an ADP Reference Data from More than One SQL Server Database in an ADP Use Views to Update Data in an ADP When Users Don't Have Permissions on Tables Idex


Best Sellers


Product Details
  • ISBN-13: 9780596000844
  • Publisher: O'Reilly Media
  • Publisher Imprint: O'Reilly Media
  • Height: 232 mm
  • Returnable: N
  • Width: 179 mm
  • ISBN-10: 0596000847
  • Publisher Date: 02 Apr 2002
  • Binding: Paperback
  • Language: English
  • Weight: 1022 gr


Similar Products

Add Photo
Add Photo

Customer Reviews

REVIEWS      0     
Click Here To Be The First to Review this Product
Access Cookbook
O'Reilly Media -
Access Cookbook
Writing guidlines
We want to publish your review, so please:
  • keep your review on the product. Review's that defame author's character will be rejected.
  • Keep your review focused on the product.
  • Avoid writing about customer service. contact us instead if you have issue requiring immediate attention.
  • Refrain from mentioning competitors or the specific price you paid for the product.
  • Do not include any personally identifiable information, such as full names.

Access Cookbook

Required fields are marked with *

Review Title*
Review
    Add Photo Add up to 6 photos
    Would you recommend this product to a friend?
    Tag this Book Read more
    Does your review contain spoilers?
    What type of reader best describes you?
    I agree to the terms & conditions
    You may receive emails regarding this submission. Any emails will include the ability to opt-out of future communications.

    CUSTOMER RATINGS AND REVIEWS AND QUESTIONS AND ANSWERS TERMS OF USE

    These Terms of Use govern your conduct associated with the Customer Ratings and Reviews and/or Questions and Answers service offered by Bookswagon (the "CRR Service").


    By submitting any content to Bookswagon, you guarantee that:
    • You are the sole author and owner of the intellectual property rights in the content;
    • All "moral rights" that you may have in such content have been voluntarily waived by you;
    • All content that you post is accurate;
    • You are at least 13 years old;
    • Use of the content you supply does not violate these Terms of Use and will not cause injury to any person or entity.
    You further agree that you may not submit any content:
    • That is known by you to be false, inaccurate or misleading;
    • That infringes any third party's copyright, patent, trademark, trade secret or other proprietary rights or rights of publicity or privacy;
    • That violates any law, statute, ordinance or regulation (including, but not limited to, those governing, consumer protection, unfair competition, anti-discrimination or false advertising);
    • That is, or may reasonably be considered to be, defamatory, libelous, hateful, racially or religiously biased or offensive, unlawfully threatening or unlawfully harassing to any individual, partnership or corporation;
    • For which you were compensated or granted any consideration by any unapproved third party;
    • That includes any information that references other websites, addresses, email addresses, contact information or phone numbers;
    • That contains any computer viruses, worms or other potentially damaging computer programs or files.
    You agree to indemnify and hold Bookswagon (and its officers, directors, agents, subsidiaries, joint ventures, employees and third-party service providers, including but not limited to Bazaarvoice, Inc.), harmless from all claims, demands, and damages (actual and consequential) of every kind and nature, known and unknown including reasonable attorneys' fees, arising out of a breach of your representations and warranties set forth above, or your violation of any law or the rights of a third party.


    For any content that you submit, you grant Bookswagon a perpetual, irrevocable, royalty-free, transferable right and license to use, copy, modify, delete in its entirety, adapt, publish, translate, create derivative works from and/or sell, transfer, and/or distribute such content and/or incorporate such content into any form, medium or technology throughout the world without compensation to you. Additionally,  Bookswagon may transfer or share any personal information that you submit with its third-party service providers, including but not limited to Bazaarvoice, Inc. in accordance with  Privacy Policy


    All content that you submit may be used at Bookswagon's sole discretion. Bookswagon reserves the right to change, condense, withhold publication, remove or delete any content on Bookswagon's website that Bookswagon deems, in its sole discretion, to violate the content guidelines or any other provision of these Terms of Use.  Bookswagon does not guarantee that you will have any recourse through Bookswagon to edit or delete any content you have submitted. Ratings and written comments are generally posted within two to four business days. However, Bookswagon reserves the right to remove or to refuse to post any submission to the extent authorized by law. You acknowledge that you, not Bookswagon, are responsible for the contents of your submission. None of the content that you submit shall be subject to any obligation of confidence on the part of Bookswagon, its agents, subsidiaries, affiliates, partners or third party service providers (including but not limited to Bazaarvoice, Inc.)and their respective directors, officers and employees.

    Accept

    New Arrivals

    Inspired by your browsing history


    Your review has been submitted!

    You've already reviewed this product!