599CD.com 06/26: PowerPoint 101 Re-Recorded   Collapse Menus
 
   
 

What's New?

Courses  |   Demo  |   Tips  |   Blog  |   Search  |   Help  |   Order

 
 
 
Courses - Microsoft Access 207
Description: Intermediate Microsoft Access 7
Running Time: 73 minutes
Pre-Requisites: Access 206 very strongly recommended
Versions:
We use Access XP in this course, but the lessons are valid for all versions of Access from 95 to 2003. There are cosmetic changes in Access 2007. Order before 7/7/2008 to get a FREE upgrade to our 2007 version when released!
 

In this class, and it's pre-requisite Access 206, we are building a Task Management System to manage your "to do" list. This is the second of a 2-part series on Task Management. In this course you will learn how to hide completed tasks, show tasks by date, set recurring tasks, set conditions (IF/THEN) in macros, learn about the IIF function, and learn how to filter form results with your own text boxes.

We will begin this class by creating a date filter for our tasks - to only see tasks that are due up to and including a certain date. We will use the AfterUpdate property to assign a macro to it so it requeries the list when you change the date automatically.

 

We will learn more complicated macro grouping techniques, and how to assign all of these groups to buttons.

 

Next we'll learn about Macro Conditions, which are essentially IF / THEN statements for macros. Use them to make the macro smart and make decisions.

 

We will deal with recurring tasks... if the task is set to be a "Daily" task, for example, just move the date forward one day instead of closing it when someone clicks on the Completed box.

 

We'll learn about some new form properties: Allow Edits, Allow Deletions, and Allow Additions.

 

We'll also learn how to lock individual form controls with the Locked property so that users can't change them.

 

Next we'll learn about a real powerful function called IIF or Immediate If. This is a function that can act as an IF/THEN statement inside of queries or forms.

 

We will use that IIF function in several places to determine whether or not to display tasks based on a checkbox we'll place on the form (show all tasks or not?)

 

We will review manually filtering results on a form.

 

Then we'll create our own set of combo boxes and text boxes so our users can filter the results by setting the values themselves - without having to know how to filter.

 

We will review how to use the LIKE keyword to create wildcard parameters for our queries - allowing the users to set filters based on any combination of characters in the description.

 

You will see how to deal with the problem that can exist if one of your users doesn't pick a value - say assign a category to a Task - and that task is missing. We'll compact and repair our database.

 

We'll finish off the class by placing a button for our new Task Management System on our Main Menu.

 

Make sure to get yourself a copy of the Handbook for this course. There are a ton of ideas that I threw in while I was writing the book - after the course videos were made. The handbook has lots of extra tips in it!

 

Don't miss this course! We cover a lot of really cool tips and tricks with relation to macros and form values. This and Access 207 are the last intermediate courses before we get into programming in VBA.

 

 

 Teacher's Outline

Lesson 1. Task Query
Creating a TaskQ query
Create a TaskViewDate form field to limit the date
Base the data in the query on the date on the form
Run our requery macro in the On Open event
Run our requery macro in the After Update for the date
Copy date reset buttons from TaskF to TaskListF

Lesson 2. Recurring Tasks
Learn about Macro Conditions (groups)
Conditions are IF/THEN statements for Macros
If the Completed box is clicked on a recurring macro increment the date
Deal with weekly, monthly, and other tasks
Allow Edits form property
Allow Deletions form property
Allow Additions form property
Locked control property

Lesson 3. Choose to Hide Future Tasks
Create a Show All Tasks check box
If the check box is unchecked, hide tasks by date
If checked, show all of the tasks regardless of date
Use the IIF() function to determine if task in future
Use the NOT keyword to negate values
Complex IIF() function with multiple conditions
Nested statements using AND and OR clauses
Feeding query results into a second query Task2Q

Lesson 4. Filtering Results
Manually filtering using built-in Access filters
Filter By Selection, Remove Filter/Sort
Creating our own filter text and combo boxes
Adding * values to our supporting tables
Review of the LIKE keyword in queries
Manually editing the Column Count and Column Width

Lesson 5. Miscellaneous
Dealing with missing data
Tasks without a category won't show. Fix this.
Compact and Repair Database
Add Tasks button to Main Menu

 


 
 


Try a FREE Demo Lesson

 
 

Student Interaction: Microsoft Access 207

Richard on 1/1/2007:  Task Management Part Two, hide completed tasks, IF conditions in macros, IIF function, filter combo boxes
 joe on 2/13/2008: I have a table called LeadDetailsT and one of the fields in that table is called TypeOfSale. TypeOfSale has 10 choices from a drop down box. One of the choices is called "Avaya Maint". I have a query that returns a bunch of data for me. I have a form which is based off of that query and in the form I have some blank boxes/fields where I can do calculations. One of the calculations I need to do on the form is IF TypeOfSale = "Avaya Maint" THE [more...]
Richard Rost on 2/28/2008: Joe, this is the exact kind of thing you need PROGRAMMING in VBA for. I start covering this kind of thing in Access 301. You can use a classic IF/Then statement in an AfterUpdate event, or you can use an IIF function.
Judith Koester on 4/29/2008: Access207 Recurring @6:02 - My TaskListF and TaskF open together fine. When I check Completed on the TaskF on a daily, weekly task the date changes OK. Then Requery the TaskListF – OK. However, when I check Completed on a Non-Recurring task, nothing happens. Also check marks don’t show up on TaskF or TaskListF at all even though date changes. When I remove the TaskRecurringM from Completed on the TaskF, I get check marks, but  [more...]
Richard Rost on 5/24/2008: Judith, this one is MY FAULT. The problem is that I didn't correctly show you how to use the CONDITION column in the macro builder. See, just like I said in the video, I almost NEVER use macros. I use VBA programming for almost everything (especially something this easy). And, unfortunately, I didn't test this thoroughly enough in class to notice this problem - which is why this user feedback interaction is so cool. Anyhow, here's [more...]
 
 

You may want to read these articles from the 599CD Blog:

 

 

Need
Help?

   
Do you have questions about Word, Excel, Access, Web Design, or computers in general? Just ask us anything you'd like.
 

Get Free Tips & Tricks
 

Join our mailing list today and get information on our Free Tips & Tricks Newsletter including free video tutorials, eBooks, live seminars, and more.

Email:
Name:
Type in the word to the left:
 
Your email will be kept 100% safe and will never be given to 3rd parties.
 


CLICK HERE for a FREE lesson



Order your first 599CD course now.
Your Satisfaction is Guaranteed!


 
 NEW:  Watch all of our courses online in the 599CD Theater
 

599CD Home   |   Learn More   |   What's New?   |   Contact Us   |   Free Demo   |   FAQs   |   Order Now   |   Become an Affiliate   |   TechHelp   |   MYOLP   |   Jobs   |   Chat   |   Downloads   |   Handbooks  (Text)   |    Mailing List   |   Lost Passwords   |   Referral Program   |   Online Poll   |   Troubleshooter   |   Corporate / Educational / Government / Non-Profit Sales   |   Message Forums   |   Testimonials   |   Privacy Policy   |   Tips & Tricks

 
 

What's New  |  Home  |  Courses  |  Demo  |  Learn More  |  Contact  |  Order