This class
picks up where
Expert Level 12
left off. We will focus primarily on Update Queries. We
will begin by learning how to edit the code in an embedded button
macro to control what records are printed when we open a
report. We will show a single invoice, all invoices for a specific
customer, or all invoices between two dates.

Next we will learn
about Action Queries: what they are, what they do, and why you
want to use them. We'll discuss update, append, delete, and make-table
queries. We'll talk about properly backing up your database BEFORE
running any action queries.

Next we'll begin learning about Update Queries. We'll see how to
change the name of all companies in a particular state. We'll use a
nested IIF function to assign sales reps to customers based on what
state the customer is in.

A lot of using Update Queries has to do with fixing data that your users
enter poorly. We will learn how to capitalize all of the states
in our table, assuming some are entered like "ny" and other "NY" and
others yet "Ny" (hey, it happens). We'll learn about the UCase, LCase,
and StrConv functions to set the names of our customers in Proper Case.

Finally we will learn how to use Update Queries to add 5% to all of our
product prices, and how to mark all of the PAID orders in our
system as SHIPPED, and give them a ship date.

This is the 13th class in the Access Expert series.
There's a lot of great material in this class. Learning Update
Queries will add tremendous power to your databases. Of
course, if you have any questions about whether or not this class is
for you, please contact me.

Complete Outline - Access Expert Level
13
00.
Intro (7:20)
01. Open Report WHERE Condition (28:04)
Buttons on Main Menu for Reports
Replace Invoice with Grouped Report
Same field name on two tables
OrderT.F1 and OrderDetailT.F1
OrderID Header Section
Open Report to Specific Multiple Records
Print Multiple Invoices
Macro WHERE Conditions
Print All Invoices for a Customer
Print All Invoices Between Dates
02. Types of Action Queries (5:49)
What are Action Queries
Update Query
Append Query
Delete Query
Make-Table Query
Backup your data!
How to backup your database file
Online backup recommendations
Backing up a table |
03. Update Queries, Part 1 (14:48)
Update Queries allow Complex Criteria
Change Select to Update Query
Update To Property
RUN vs Datasheet View Buttons
Preview Records to be Updated
Running the Update Query
Multiple Criteria
Change "XYZ Corp" in "PA"
Save Query
Nested IIF in Update Query
Assign Reps Based on Territory
04. Update Queries, Part 2 (10:26)
Capitalize States
UCASE() Function
Can't Delete a Table with Relationships
Manually Delete Relationships
Delete and Rename Backup Table
Restore Relationships
LCASE() Function
STRCONV() Function for Proper Case
Exceptions: Don't change McDonald
05. Update Queries, Part 3 (9:26)
Add 5% to all Product Prices
UnitPrice = UnitPrice * 1.05
Update all Paid Orders as Shipped
06. Review (6:03) |

|