Access 2007-2019
Access 2000-2003
Access Seminars
TechHelp Support
Tips & Tricks
Access Forum
Course Index
Topic Glossary
Insider Circle
 
Home   Courses   Seminars   Templates   Help   TechHelp   Forums   Contact   Join   Order   Logon  
 
 
 
Courses - Microsoft Access 302
Description: Advanced Access
Running Time: 67 minutes
Pre-Requisites: Access 301 very strongly recommended
Previous Lesson: Access 301
Next Lesson: Access 303
Main Topics: Product Table, Select From List, Combo Box Column, DLOOKUP, Error Handling
Versions: This course is valid for Access 2000 through 2003. If you are using Access 2007 or 2010, you will still benefit from this course. You will find that the concepts are the same, but there are cosmetic differences between the versions.

    
 
Microsoft Access 302
Advanced Access Development

Product Table & Form, Select Product From Combo Box, Column Property, GoToRecord, DLOOKUP, Error Handling, More. 67 Minutes.
 

AC302 Major Topics

  • Product Table, Form, Combo Box
  • Select Products From List
  • Combo Box Column Property
  • DoCmd.GoToRecord
  • DLOOKUP Function
  • Basic Error Handling

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

First we'll make a Product table and form so we can pick from a list of products when making an order. We'll learn how to deal with products that are non-taxable, or perhaps taxed at a different rate than normal (for example, clothes in NY state have a different tax rate than most products).

 

Next we'll make a combo box to list all of our products so that we can select a product when making an order. We'll put this in the footer section of our Order Details subform.

 

We will then create a command button that we can click on to get the data out of the combo box and put it up into the order details. You will learn how to use the Column property of a combo box.

 

You will learn how to move the focus to a new record in VB code, and how to set a field value. You will learn how to get data from multiple columns in the combo box.

 

As great as combo box columns are, you can't use them for everything. Next you'll learn about a powerful function called DLOOKUP that you can use to retrieve ANY values from ANY tables or queries in your database.

 

When we're finished with this lesson, we'll have added much more functionality to our order-entry system by allowing the user to select the product from a list of products instead of just typing it into the order.

 

Access 302 Outline
 

1. Product Information
Backup Access 301 Database
Create a Product Table
Non Taxable Products
Sales Tax Override
Put ProductID in Order Details table

2. Product Combo Box
Create a Product Combo
Remember the value for later use
Put Combo in OrderDetails Footer
Command Button to Add Product
Get Data from Combo Box Columns
Combo.Column() property

3. Get Data From Combo Box
ProductCombo.Column()
Move to a new record in VB code
DoCmd.GoToRecord
Accessing data from multiple columns

4. DLOOKUP
What is DLOOKUP
When should you use DLOOKUP
DLOOKUP to get values from tables
Me.Refresh
DLOOKUP Order Tax Rate from CustomerT
DIM a variable in VB
Basic Error Handling
On Error Resume Next
 

 


Try a FREE Demo Lesson

 
 

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

10/10/2021Copy Text from Field
10/10/2021Access for Free
10/9/2021Birthdays
10/8/2021Label Resize
10/2/2021Criticisms of Access
10/1/2021Access Developer 32
10/1/2021Groups
9/29/2021DMin
9/28/2021Track Log On
9/26/2021Sliders
 

Learn
 
Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
Seminars
More...
Customers
 
Account Login
Online Theater
Downloads
Lost Password
Memberships
Student Databases
Change Email
Info
 
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search The Site
Code Vault
Collapse Menus
Help
 
Customer Support
Web Site Tour
FAQs
TechHelp
Consulting Services
About
 
Background
Testimonials
Jobs
Affiliate Program
Richard Rost
Free Lessons
Mailing List
Order
 
Video Tutorials
Handbooks
Memberships
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Shipping
Terms of Sale
Contact
 
Contact Info
Support Policy
Email Richard
Mailing Address
Phone Number
Fax Number
Course Survey
Blog RSS Feed    Twitter

YouTube Channel    LinkedIn