Discover millions of ebooks, audiobooks, and so much more with a free trial

Only $11.99/month after trial. Cancel anytime.

The Programmer’s Guide to Microsoft Access
The Programmer’s Guide to Microsoft Access
The Programmer’s Guide to Microsoft Access
Ebook220 pages1 hour

The Programmer’s Guide to Microsoft Access

Rating: 5 out of 5 stars

5/5

()

Read preview

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

LanguageEnglish
PublisherEquity Press
Release dateJun 3, 2011
ISBN9781603322119
The Programmer’s Guide to Microsoft Access

Read more from Equity Press

Related to The Programmer’s Guide to Microsoft Access

Related ebooks

Related articles

Reviews for The Programmer’s Guide to Microsoft Access

Rating: 5 out of 5 stars
5/5

1 rating0 reviews

What did you think?

Tap to rate

Review must be at least 10 words

    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 selection to the combo box drop-down

    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 selection to my combo box drop-down?

    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 choice to this, we'll change the combo's SQL to a union query:

    CODE

    SELECT tblMyTable.RecID, tblMyTable.CompanyName FROM tblMyTable UNION SELECT *, FROM tblMyTable ORDER BY tblMyTable.CompanyName

    To directly edit the combo's SQL, just

    Enjoying the preview?
    Page 1 of 1