MS Access Queries - PowerPoint PPT Presentation

1 / 28
About This Presentation
Title:

MS Access Queries

Description:

FROM Categories INNER JOIN Products ON Categories.CategoryID ... TelephoneDisplay = 'Missing Area Code' Case 10. TelephoneDisplay = '(' & Left(strIn, 3) ... – PowerPoint PPT presentation

Number of Views:78
Avg rating:3.0/5.0
Slides: 29
Provided by: barrygh
Category:
Tags: access | area | code | queries

less

Transcript and Presenter's Notes

Title: MS Access Queries


1
MS Access Queries
  • By
  • Barry Hynum, Ph.D.
  • MaxQual Consulting, Inc.

2
(No Transcript)
3
TOC
4
About designing a query (MDB)
Rename
5
Formatting Fields
Rt. Click Column
6
Joins
7
Joins Different Tables
8
Joins Different Tables
9
Joins Same Table
10
Criteria
11
Criteria Between
12
Criteria Wildcards
13
Expressions
14
Expressions Dates Nulls
15
Aggregate Functions
16
Aggregates Criteria
Before
After
17
Aggregates Where
Oh, Microsoft!?
18
Union Queries
19
Subqueries
20
Append
21
Update
UPDATE Products SET Products.UnitPrice
UnitPrice1.1
22
Make Table
SELECT Customers. INTO tbl_New FROM Customers
23
Delete
24
Parameters
Naming Conventions?
SELECT Products., Categories.CategoryName FROM
Categories INNER JOIN Products ON
Categories.CategoryID Products.CategoryID WHERE
(((Categories.CategoryName)Enter Category) AND
((Products.Discontinued)No))
25
VBA Functions
26
Functions
Telephone IIf(IsNull(CompanyMainTel),"",Telepho
neDisplay(CompanyMainTel))
Public Function TelephoneDisplay(strIn As String)
As String Select Case Len(strIn
vbNullString) Case 0
TelephoneDisplay "" Case 1 To 6, 8, 9
TelephoneDisplay "Invalid Number"
Case Is 7 TelephoneDisplay
"Missing Area Code" Case 10
TelephoneDisplay "(" Left(strIn, 3) ")" _
" " Mid(strIn,
4, 3) _ "-"
Right(strIn, 4) End Select End Function
27
Performance
UltraEdit
28
Wrap Up
  • Huge Topic!
  • Get globally familiar w/ Query Topics
  • Make sure u have experience w/ each
  • Some understanding of usage
  • Practice, practice, practice
  • Use samples
  • Ask the experts ? _at_AUGSD
Write a Comment
User Comments (0)
About PowerShow.com