Running Microsoft Access 97


This comprehensive user's guide and reference is the essential answer book for new and veteran users alike. It's packed with clear step-by-step instructions, real-world business examples, screen illustrations, and detailed reference information.

Experience Level: Beginner/ Intermediate

Read More Show Less
... See more details below
Available through our Marketplace sellers.
Other sellers (Paperback)
  • All (16) from $1.99   
  • New (1) from $59.99   
  • Used (15) from $1.99   
Sort by
Page 1 of 1
Showing All
Note: Marketplace items are not eligible for any coupons and promotions
Seller since 2007

Feedback rating:



New — never opened or used in original packaging.

Like New — packaging may have been opened. A "Like New" item is suitable to give as a gift.

Very Good — may have minor signs of wear on packaging but item works perfectly and has no damage.

Good — item is in good condition but packaging may have signs of shelf wear/aging or torn packaging. All specific defects should be noted in the Comments section associated with each item.

Acceptable — item is in working order but may show signs of wear such as scratches or torn packaging. All specific defects should be noted in the Comments section associated with each item.

Used — An item that has been opened and may show signs of wear. All specific defects should be noted in the Comments section associated with each item.

Refurbished — A used item that has been renewed or updated and verified to be in proper working condition. Not necessarily completed by the original manufacturer.


Ships from: Phoenix, AZ

Usually ships in 1-2 business days

  • Canadian
  • International
  • Standard, 48 States
  • Standard (AK, HI)
  • Express, 48 States
  • Express (AK, HI)
Page 1 of 1
Showing All
Sort by
Sending request ...


This comprehensive user's guide and reference is the essential answer book for new and veteran users alike. It's packed with clear step-by-step instructions, real-world business examples, screen illustrations, and detailed reference information.

Experience Level: Beginner/ Intermediate

Read More Show Less

Product Details

  • ISBN-13: 9781572313231
  • Publisher: Microsoft Press
  • Publication date: 1/1/1997
  • Series: Running Series
  • Edition description: Select ed.
  • Pages: 933
  • Product dimensions: 7.60 (w) x 9.24 (h) x 1.90 (d)

Read an Excerpt

Chapter 9: Modifying Data with Action Queries

Troubleshooting Action Queries

Microsoft Access analyzes your action query request and the data you are about to change before it commits changes to your database. When it identifies errors, Access always gives you an opportunity to cancel the operation.

Common Action
Query Errors and Problems

Access identifies (traps) four types of errors during the execution of an action query:

  • Duplicate primary keys. This type of error occurs if you attempt to append a record to a table or update a record in a table when the result is a duplicate primary key or a duplicate of a unique index key value. Access will not update or append any rows that would create duplicate values in primary keys or unique indexes. For example, if the primary key of a contract archive table is ContractID, Access won't append a record that contains a ContractID already in the table. Before attempting to append such rows, you might have to change the primary key values in the source table to avoid the conflict.
  • Data conversion errors. This type of error occurs when you attempt to append data to an existing table and the data type of the receiving field does not match that of the sending field (and the data in the sending field cannot be converted to the appropriate data type). For example, this error will occur if you attempt to append a text field to an integer field and the text field contains either alphabetic characters or a number string that is too large for the integer field. You might also encounter a conversion error in an update query if you use a formula that attempts a calculation on a fieldthat contains characters. (For information on data conversions and potential limitations, see Table 6-1 in Chapter 6, 'Modifying Your Database Design.')
  • Locked records. This type of error can occur when you run a delete query or an update query on a table that you share with other users on a network . Access cannot update records that are in the process of being updated by some other user. You might want to wait and try again later when no one else is using the affected records to be sure that your update or deletion occurs.
  • Validation rule violations. if any of the rows being inserted or any row being updated violates either a field validation rule or the table validation rule, Access notifies you of an error and does not insert or update any of the rows that fail the validation test.

Another problem that can occur, although it isn't an error as such, is that Access truncates data that is being appended to text or memo fields if the data does not fit. Access does not warn you when this happens. You must be sure (especially with append queries) that the receiving text and memo fields have been defined as large enough to store the incoming data.

An Error Example

Earlier in this chapter, you learned how to create an append query to copy old contracts to an archive table. What do you suppose would happen if you copied rows through September 30, 1996, forgot to delete them from the main table, and then later asked to copy rows through December 31, 1996? If you try this starting with an empty archive table in the Entertainment Schedule database, you'll get an error dialog box similar to the one shown in Figure 9-22.

The dialog box declares that 35 records won't be inserted because of duplicate primary key values. Access didn't find any data conversion errors. Note that if some fields have conversion problems, Access might still append the row but leave the field set to Null. Because this table isn't shared on a network, there aren't any locking errors. When you see this dialog box, you can click the Yes button to proceed with the changes that Access can make without errors. You might find it difficult later, however, to track down all the records that were not updated successfully. Click the No button to cancel the append query.

Deleting Groups of Rows

You're not likely to keep all the data in your database forever. You'll probably summarize some of your detailed information as time goes by and then delete the data you no longer need. You can remove sets of records from your database using a delete query.

Testing with a Select
Query and Parameters

Once you have calculated and saved all the sales data and moved old contracts to the archive table, you should remove the contracts from the active table. This is clearly the kind of query that you will want to save so that you can use it again and again. You can design the query to automatically calculate which records to delete based on the current system date. (If you do this, you should probably change the query qryXmplArchiveOldContracts to work the same way.) The query can also be designed with a parameter so that a user can specify which data to delete when you run the query. Either design makes it unnecessary to change the query at each use.

As with an update query, it's a good idea to test which rows will be affected by a delete query by first building a select query to isolate these records. Start a new query on tblContracts and include the asterisk (*) field. Add the BeginningDate field to the design grid, deselect the Show check box, and add either a parameter criterion or something like Date( ) - 366 (to see all contracts that are more than a year old). If you use a parameter criterion and convert this select query to a delete query, your result should look like that shown in Figure 9-23....

Read More Show Less

Table of Contents

Using the Companion Disc ..... xxiii
Introduction ..... xxv
Part I: Understanding Microsoft Access ..... 1
Chapter 1: Microsoft Access Is a Database and More ..... 3
Chapter 2: The Uses of Microsoft Access ..... 19
Chapter 3: Touring Microsoft Access ..... 33
Part II: Building a Database ..... 71
Chapter 4: Designing Your Database Application ..... 73
Chapter 5: Building Your Database in Microsoft Access ..... 103
Chapter 6: Modifying Your Database Design ..... 157
Part III: Working with Data ..... 191
Chapter 7: Using Datasheets ..... 193
Chapter 8: Adding Power with Select Queries ..... 229
Chapter 9: Modifying Data with Action Queries ..... 281
Chapter 10: Importing, Linking, and Exporting Data ..... 309
Chapter 11: Advanced Query Design-SQL ..... 365
Part IV: Using Forms ..... 441
Chapter 12: Form Basics ..... 443
Chapter 13: Building Forms ..... 475
Chapter 14: Customizing Forms ..... 515
Chapter 15: Advanced Form Design ..... 553
Part V: Creating Reports ..... 581
Chapter 16: Report Basics ..... 583
Chapter 17: Constructing a Report ..... 599
Chapter 18: Advanced Report Design ..... 617
Part VI: Creating an Application ..... 663
Chapter 19: Adding Power with Macros ..... 665
Chapter 20: Automating Your Application with Macros ..... 699
Chapter 21: Visual Basic for Applications Fundamentals ..... 723
Chapter 22: Automating Your Application with VBA ..... 795
Chapter 23: The Finishing Touches ..... 849
Chapter 24: After Completing Your Application ..... 873
Appendix: Installing Microsoft Access ..... 905
Read More Show Less

Customer Reviews

Be the first to write a review
( 0 )
Rating Distribution

5 Star


4 Star


3 Star


2 Star


1 Star


Your Rating:

Your Name: Create a Pen Name or

Barnes & Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation


  • - By submitting a review, you grant to Barnes & and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Terms of Use.
  • - Barnes & reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously

    If you find inappropriate content, please report it to Barnes & Noble
    Why is this product inappropriate?
    Comments (optional)