599CD.com   Full View
 
 

What's New?  |  Tutorials  |  Tips  |  Blog  |  Forums  |  Help  |  Customer Logon  |  Order

 
 
 
Courses - Microsoft Access 305
Description: Advanced Access
Running Time: 79 minutes
Pre-Requisites: Access 304 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 and 2010.

*** Order before 2/7/2012 to get a FREE upgrade to our Access 2010 version! ***

 
Microsoft Access 305
Advanced Access Development

Aged Accounts Receivable, IIF Function, MsgBox with vbYesNo, BeforeUpdate Event, Cancel an Event, vbYesNoCancel. 79 Minutes
 

AC305 Major Topics

  • Aged Accounts Receivable
  • IIF Function
  • MsgBox with vbYesNo
  • BeforeUpdate Event
  • Cancel an Event
  • vbYesNoCancel

Access 305 continues our advanced Access database development with VBA programming. We continue work on our sales and order-entry system.

This lesson focuses on building an Aged Accounts Receivable. You will learn a lot of new tricks including using a MsgBox to ask questions, the vbYesNoCancel option, the BeforeUpdate event, and much more.

We will begin by creating a query to hold our Accounts Receivable data.

You will learn how to determine how old certain invoices are - which are current, which are 30-days late, 60-days, etc.

This is the basis for an AGED Accounts Receivable:

Then we'll create a Report to display our AR information. We'll create form headers and footers to sum up the data.

Next we'll learn how to give each order a Percent Discount.

We'll give each item on the invoice a possible discount as well (in case certain items are, for example, 50% off).

We'll learn how to get information back from the user by asking questions with the MsgBox command:

We'll learn about the BeforeUpdate event which allows us to cancel an event in progress:

 

Access 305 Outline
 

1. Accounts Receivable Query
Aged Accounts Receivable
Create a Query with OrderTotals
Add OrderDate to tell Age of Order
Use IIF Function to Add Aging
Current
LessThan30
LessThan60
MoreThan60
Add DaysOld Field

2. Accounts Receivable Report
Create the report
Format as Currency
Hide $0.00 values with VBA Code
The Visible Property
Put SUMs in the Report Footer
Create an AR Total

3. Percent Discount on Orders, Part 1
Discounts as a dollar amount
Percentage Discount
Add PercentDiscount to OrderT
Add PercentDiscount to OrderDetailT
Adjust SalesTax to figure Discount
Link the Discount default to OrderF

4. Percent Discount on Orders, Part 2
Add PercentDiscount to CustomerTable
Add PercentDiscount to CustomerForm
Add to AfterUpdate event CustomerCombo
Update DiscountRate on Line Items if Form Changes
Create an Update Query to change Rate
Create an AfterUpdate event to run Update Query
MsgBox to Get a Response
vbYesNo, vbYes, vbNo
Line Continuation Character in VB Code
Dim variables
Option Explicit

5. BeforeUpdate
The Cancel parameter of BeforeUpdate
OldValue property
vbYesNoCancel

 


Try a FREE Demo Lesson

 
 
 

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. Click here for assistance.
 

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.

Subscribe to our RSS FeedWhat's This?

Facebook  Twitter  RSS  hide  help

599CD Home   |   Learn More   |   What's New?   |   Contact Us   |   Free Demo   |   FAQs   |   Order Now   |   Affiliate Program   |   TechHelp   |   MYOLP   |   Jobs   |   Downloads   |   Handbooks  (Text)   |    Mailing List   |   Lost Passwords   |   Referral Program   |   Online Poll   |   Corporate, Educational, Government, Non-Profit Sales   |   Message Forums   |   Testimonials   |   Privacy Policy   |   Free Gift CDs   |   Consulting Services   |   Waiting List   |   RSS Feed   |   Tips & Tricks

 
 

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