The Programmer’s Guide to Microsoft Access
By Equity Press
5/5
()
About this ebook
The Ultimate Reference & Learning Guide for Microsoft Access
A comprehensive guide for the advanced user and programmer
It’s clear that Microsoft Access is the future for small businesses and within departments of larger organizations. From helping you to assess your Access skills to evaluating candidates for a job, The Programmer’s Guide to Microsoft Access will help you understand what you really need to know. The book is organized around rapid application development techniques, report generation, and integration with Windows and other applications. Each section includes everything you need to know to master an interview or properly evaluate a candidate. More than just a rehash of Access documentation and sales presentations, each question is based on project knowledge and experience gained on successful high-profile Access implementations.
Key topics include:
• Querying with and without SQL
• Review of Visual Basic for Applications
• Access in conjunction with other database applications
• Database monitoring
• Database security
Read more from Equity Press
Oracle® Financials Interview Questions: Unofficial Oracle Financials Certification Review Rating: 3 out of 5 stars3/565 Interview Questions: Conquer Your Fear and Answer the Toughest Job Interview Questions Rating: 4 out of 5 stars4/5Cisco Network Administration Interview Questions: CISCO CCNA Certification Review Rating: 5 out of 5 stars5/5SAP Basis Configuration Frequently Asked Questions Rating: 4 out of 5 stars4/5SAPCOOKBOOK Training Tutorials: SAP MM Inventory Management Rating: 4 out of 5 stars4/5SAP ECC FI Transaction Codes: Unofficial Certification and Review Guide Rating: 5 out of 5 stars5/5Oracle Ultimate DBA Interview Questions Rating: 5 out of 5 stars5/5SAP FICO Company Creation Rating: 4 out of 5 stars4/5TCP/IP Networking Interview Questions, Answers, and Explanations: TCP/IP Network Certification Review Rating: 5 out of 5 stars5/5SAP ABAP Objects Interview Questions Rating: 4 out of 5 stars4/5SAP IS-Retail Interview Questions, Answers, and Explanations Rating: 3 out of 5 stars3/5Breaking In to SAP HR: Interview Questions, Answers and Explanations Rating: 4 out of 5 stars4/5SAP R/3 Transaction Codes Unofficial Certification and Review Guide Rating: 4 out of 5 stars4/5SAP Solution Manager Rating: 4 out of 5 stars4/5Linux Interview Questions: Open Source Operating Systems Interview Questions, Answers, and Explanations Rating: 5 out of 5 stars5/5Python Interview Questions Rating: 5 out of 5 stars5/5SAP Security Interview Questions, Answers, and Explanations Rating: 4 out of 5 stars4/5SAP APO Interview Questions, Answers, and Explanations: SAP APO Certification Review Rating: 2 out of 5 stars2/5UNIX Shell Scripting Interview Questions, Answers, and Explanations: UNIX Shell Certification Review Rating: 5 out of 5 stars5/5C# Interview Questions, Answers, and Explanations: C Sharp Certification Review Rating: 5 out of 5 stars5/5SAPCOOKBOOK Training Tutorials SAP Financials: Accounts Receivable Rating: 4 out of 5 stars4/5COBOL Programming Interview Questions: COBOL Job Interview Preparation Rating: 5 out of 5 stars5/5Unofficial SAP WebDynpro for ABAP Rating: 5 out of 5 stars5/5SAP MDM Frequently Asked Questions Rating: 5 out of 5 stars5/5Oracle Database Security Interview Questions, Answers, and Explanations: Oracle Database Security Certification Review Rating: 0 out of 5 stars0 ratings
Related to The Programmer’s Guide to Microsoft Access
Related ebooks
SQL for Microsoft Office Access Rating: 3 out of 5 stars3/5Access 2016: Up To Speed Rating: 5 out of 5 stars5/5Automating Access Databases with Macros Rating: 5 out of 5 stars5/5Access 2019 Bible Rating: 5 out of 5 stars5/5Excel 2019 Power Programming with VBA Rating: 5 out of 5 stars5/5Access 2010 All-in-One For Dummies Rating: 4 out of 5 stars4/5How To Develop A Performance Reporting Tool with MS Excel and MS SharePoint Rating: 0 out of 5 stars0 ratingsMicrosoft Excel 365 Bible Rating: 0 out of 5 stars0 ratings101 Ready-to-Use Excel Formulas Rating: 4 out of 5 stars4/5From VBA to VSTO: Is Excel's New Engine Right for You? Rating: 0 out of 5 stars0 ratingsExcel Macros For Dummies Rating: 3 out of 5 stars3/5Intermediate Access: Access Essentials, #2 Rating: 0 out of 5 stars0 ratingsMastering Microsoft Excel 2016: How to Master Microsoft Excel 2016 in 30 days Rating: 5 out of 5 stars5/5Microsoft Outlook 2016 Time Savers Rating: 4 out of 5 stars4/5Creating your MySQL Database: Practical Design Tips and Techniques Rating: 3 out of 5 stars3/5Microsoft Access 2003 Rating: 5 out of 5 stars5/5Microsoft Excel Formulas: Master Microsoft Excel 2016 Formulas in 30 days Rating: 4 out of 5 stars4/5EXCEL: Microsoft: Boost Your Productivity Quickly! Learn Excel, Spreadsheets, Formulas, Shortcuts, & Macros Rating: 0 out of 5 stars0 ratingsExcel Macros - A Step-by-Step Illustrated Guide to Learn Excel Macros Rating: 0 out of 5 stars0 ratingsPowerShell in Practice Rating: 0 out of 5 stars0 ratingsMicrosoft Access for Beginners and Intermediates Rating: 0 out of 5 stars0 ratingsExploring Microsoft Office: The Illustrated, Practical Guide to Using Office and Microsoft 365 Rating: 0 out of 5 stars0 ratingsSharePoint 2010 Issue Tracking System Design, Create, and Manage Rating: 3 out of 5 stars3/5Improve your skills with Google Sheets: Professional training Rating: 0 out of 5 stars0 ratingsSecrets of Access Database Development and Programming Rating: 5 out of 5 stars5/5Microsoft Access: Database Creation and Management through Microsoft Access Rating: 0 out of 5 stars0 ratingsAccess 2019 Intermediate: Access Essentials 2019 Rating: 0 out of 5 stars0 ratings
Reviews for The Programmer’s Guide to Microsoft Access
1 rating0 reviews
Book preview
The Programmer’s Guide to Microsoft Access - Equity Press
Microsoft Access
Interview Questions, Answers and Explanations
By Terry Sanchez-Clark
Copyright 2007 Equity Press
Smashwords Edition
Smashwords Edition, License Notes
This ebook is licensed for your personal enjoyment only. This ebook may not be re-sold or given away to other people. If you would like to share this book with another person, please purchase an additional copy for each recipient. If you’re reading this book and did not purchase it, or it was not purchased for your use only, then please return to Smashwords.com and purchase your own copy. Thank you for respecting the hard work of this author.
Microsoft Access Interview Questions, Answers and Explanations
ISBN 10: 1-933804-58-0
ISNB 13: 978-1-933804-58-3
Edited By: Jamie Fisher
Copyright© 2007 Equity Press and ITCOOKBOOK all rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted in any form or by any means (electronic, mechanical, photocopying, recording or otherwise) without either the prior written permission of the publisher or a license permitting restricted copying in the United States or abroad.
The scanning, uploading and distribution of this book via the internet or via any other means without the permission of the publisher is illegal and punishable by law. Please purchase only authorized electronic editions, and do not participate in or encourage piracy of copyrighted materials.
The programs in this book have been included for
instructional value only. They have been tested with
care but are not guaranteed for any particular purpose.
The publisher does not offer any warranties or
representations nor does it accept any liabilities with
respect to the programs.
Trademarks: All trademarks are the property of their respective owners. Equity Press and ITCOOKBOOK is not associated with any product or vender mentioned in this book.
Printed in the United States of America
Please visit our website at www.itcookbook.com
Table of Contents
Question 1: Adding an
Question 2: Setting up Find
Question 3: Making Find
Question 4: Shortcuts for designing forms
Question 5: Filtering combo box
Question 6: Sync a Main by clicking a record on a sub form
Question 7: Changing form properties
Question 8: Checking if a Form is loaded
Question 9: Creating your own Navigation without error messages
Question 10: Having a button appear on form
Question 11: Code Access Reports
Question 12: Finding the days/months/years between two dates
Question 13: Getting minimum and maximum values
Question 14: Getting the name of the user logged into the PC
Question 15: Setting a control
Question 16: Updating main form record counter
Question 17: Creating a flexible report selection form
Question 18: Finding run-time values with your own Security
Question 19: Protecting Database with your own Security
Question 20: Removing the Popup Message box
Question 21: Retrieving the logged on username
Question 22: Splitting database and relink tables
Question 23: Working around the rounding problem
Question 24: Formatting ListBox
Question 25: Getting a Running Sum in Forms
Question 26: Improving performance
Question 27: Hiding Access so only forms are visible
Question 28: Creating a record navigation pick list on a form
Question 29: A form to let users change their passwords
Question 30: Creating WinXp style Password Characters
Question 31: Allowing the user create a dynamic filter
Question 32: Limiting contents of one combo box
Question 33: Selecting items using dual list boxes
Question 34: Inserting text into a textbox
Question 35: Preventing users
Question 36: Running queries through forms
Question 37: Synchronizing Forms in your own way
Question 38: Creating calendar using dynamic form
Question 39: Creating your own basic calendar
Question 40: Error 2501
Question 41: Preventing users from opening a shared database
Question 42: Changing the title of the MS-Access title bar
Question 43: Opening another database from code
Question 44: Opening a form or report in code
Question 45: Access the recordset of a SUBform and cloning the set
Question 46: Emulating the Record X of Y that Access displays
Question 47: Forcing input to upper case in a text box
Question 48: Limitations of color builder
Question 49: Tabbing past the last control on a form
Question 50: Making combo and list boxes faster
Question 51: Capitalizing the first letter of each word in proper Case
Question 52: Drop down a combo box as the cursor is in there
Question 53: Control Name under Mouse Pointer
Question 54: Making a text bold on a form or report
Question 55: Printing the relationships Window
Question 56: Resetting counter fields
Question 57: Allowing access to your Access database
Question 58: Run out of memory
Question 59: Attaching custom bitmaps to toolbar buttons
Question 60: Running Access database from a read-only device
Question 61: Deleting records has no effect on database
Question 62: Importing AutoNumber feature from another database
Question 63: Meaning of Query too complex
Question 64: Stopping message box warnings in an action query
Question 65: Generating sequence numbers in a query
Question 66: Finding all non matching records in tables
Question 67: Finding duplicate records in a table
Question 68: Showing the highest paid employee per department
Question 69: Way to output two tables or queries end-to-end
Question 70: Deleting duplicate records from a table
Question 71: Deleting relationships from the relationships window
Question 72: Blank pages between each page
Question 73: Printing a file without prompt
Question 74: Summing up calculated fields on a report
Question 75: Page totals using the Sum function in a text box
Question 76: Printing the path of the current database
Question 77: Stop Report if no data
Question 78: Preventing the execution of AutoExec Macro
Question 79: Changing the owner of a database
Question 80: Overcoming the 255 field limit
Question 81: Locked out from making changes in database
Question 82: Making a search field
Question 83: Grosstab query
Question 84: Adding a Boolean field
Question 85: Tracking the next scheduled preventive maintenance
Question 86: Showing details about a selected customer
Question 87: Difference between MS Access and MS Excel
Question 88: Changing the date format
Question 89: Setting up tables with different fields and data types
Question 90: Managing ID number as the primary key
Question 91: Adding commands to change the value of an activity field
Question 92: Pulling the weight from the query
Question 93: Converting rows into a column
Question 94: Using read/write access
Question 95: Closing all forms simultaneously
Question 96: Using Access to delete periods in the address field
Question 97: Using filter in the subform
Question 98: Project completion using check boxes or radio buttons
Question 99: Relationship between contact table and call table
Question 100: Using radio buttons for decision making
Question 101: Assigning an ID automatically
Question 102: Converting numbers to currency in a query
Question 103: Opening MS Access at runtime
Question 104: Adding an Add New Record button
Question 105: Getting a total at the end of a report
Question 106: Limitations of Access
Question 107: Building a keyword search
Question 108: Creating Unique Reference
Question 109: Choosing the type of table for a database
Question 110: Crosstab Query
Acknowledgements/References
Question 1: Adding an selection to the combo box drop-down
How do I add an
A: A common use of the combo box is to set a criterion for a search, or to specify the records displayed in another form/sub form or report. You may want to give your users the option of selecting all choices as the criteria. Here's one way to do it:
In this example I'm assuming a wizard-created combo based on a table named tblMyTable
with fields RecID
and CompanyName
as the Row Source. The first column is the bound column and is hidden. After using the wizard to create the combo, the SQL of the combo will look something like this:
CODE
SELECT tblMyTable.RecID, tblMyTable.CompanyName FROM tblMyTable ORDER BY tblMyTable.CompanyName
Now to add an
CODE
SELECT tblMyTable.RecID, tblMyTable.CompanyName FROM tblMyTable UNION SELECT *
,
FROM tblMyTable ORDER BY tblMyTable.CompanyName
To directly edit the combo's SQL, just