Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   Index   Templates   Seminars   TechHelp   Forums   Help   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

 
 
 

 

The following is a paid advertisement
Computer Learning Zone is not responsible for any content shown or offers made by these ads.
 

Learn
 
Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
Seminars
More...
Customers
 
Login
My Account
My Courses
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
PCResale.NET
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
Mailing Address
Phone Number
Fax Number
Course Survey
Email Richard
[email protected]
Blog RSS Feed    YouTube Channel

LinkedIn
Copyright 2024 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 10/15/2024 12:24:40 PM. PLT: 0s