7/26/2019 Acces Database Cheat Sheet
1/24
Our Project in Access:
Create Wooden Crafts Database Page 1of 24
7/26/2019 Acces Database Cheat Sheet
2/24
1. Code for Input Mask Properties:
Create Wooden Crafts Database Page 2of 24
7/26/2019 Acces Database Cheat Sheet
3/24
Create Wooden Crafts Database Page 3of 24
7/26/2019 Acces Database Cheat Sheet
4/24
2. Nubers can !a"e t!ese #ie$d %i&e Properties:
Create Wooden Crafts Database Page 4of 24
7/26/2019 Acces Database Cheat Sheet
5/24
'. Create Data (asei. After opening Access) c$ick *($ank Desktop Database+:
ii. Na"igate to sa"e ,$e to Access C$ass Notes fo$der and t-pe t!e ,$e nae
*Products.accdb+) t!en c$ick Create:
iii. !is is /!at -ou /i$$ see after t!e database is created:
Create Wooden Crafts Database Page 5of 24
7/26/2019 Acces Database Cheat Sheet
6/24
7/26/2019 Acces Database Cheat Sheet
7/24
". After c$icking t!e 0ie/ button) t!e %a"e As dia$og bo for t!e ab$e appears. -pe
*Products+ and c$ick O:
"i. No/ /e can see Design 0ie/. !is is /!ere /e create t!e #ie$ds for t!e ab$e and
t!e Data -pes and Data 0a$idation for eac! ,e$d:
3. C$ose t!e ab$e for no/.
i.
Create Wooden Crafts Database Page 7of 24
7/26/2019 Acces Database Cheat Sheet
8/24
4. Iport 5ce$ ab$e:i. On t!e 5terna$ Data ab) c$ick t!e 5ce$ button and fo$$o/ t!e steps to iport t!e
%upp$ier ab$e t!at -ou do/n$oaded fro our Access page at our /eb site:1.
2.
Create Wooden Crafts Database Page 8of 24
7/26/2019 Acces Database Cheat Sheet
9/24
'.
3.
Create Wooden Crafts Database Page 9of 24
7/26/2019 Acces Database Cheat Sheet
10/24
7/26/2019 Acces Database Cheat Sheet
11/24
ii. Properties for eac! #ie$d:
Create Wooden Crafts Database Page 11of 24
7/26/2019 Acces Database Cheat Sheet
12/24
Create Wooden Crafts Database Page 12of 24
7/26/2019 Acces Database Cheat Sheet
13/24
Create Wooden Crafts Database Page 13of 24
7/26/2019 Acces Database Cheat Sheet
14/24
9. Create #ie$ds and Properties for Product ab$e and t!en add t!e ra/ data. ere is a picture of t!e ra/ data and properties
and Data -pes for t!e Product ab$e:
Create Wooden Crafts Database Page 14of 24
7/26/2019 Acces Database Cheat Sheet
15/24
Create Wooden Crafts Database Page 15of 24
7/26/2019 Acces Database Cheat Sheet
16/24
;. 5ap$e of screen s!ots fro creating
7/26/2019 Acces Database Cheat Sheet
17/24
Create Wooden Crafts Database Page 17of 24
7/26/2019 Acces Database Cheat Sheet
18/24
>. Create ?e$ations!ips:
i. ere are screen s!ots fro t!e "ideo:
ii.
Create Wooden Crafts Database Page 18of 24
7/26/2019 Acces Database Cheat Sheet
19/24
iii.
i".
".
[email protected] #or:
Create Wooden Crafts Database Page 19of 24
7/26/2019 Acces Database Cheat Sheet
20/24
i. %e$ect Products ab$e) t!en create #or:
ii. ?ig!tc$ick %upp$ier Code ,e$d and point to Properties:
iii. C!ange !eig!t to @.24:
Create Wooden Crafts Database Page 20of 24
7/26/2019 Acces Database Cheat Sheet
21/24
i". (efore using #or to enter ra/ data) get into *#or 0ie/+:
Create Wooden Crafts Database Page 21of 24
7/26/2019 Acces Database Cheat Sheet
22/24
11.(ui$d Bueries 7see "ideo for detai$s of !o/ to bui$d t!e ueries in Design 0ie/8:i. ere are t!e uestions t!at /e /i$$ ask of our database:
1. De,ne Data Ana$-sis: ?a/ Datainto =sefu$ Inforation2. De,ne Buer-: Ask a uestion of t!e ra/ data. !e ans/er is t!e usefu$
inforation used for decision aking.
'. Buestion: *%!o/ just Description and %e$$ Price) %orted b- %e$$ Price+
i. Nae of Buer-: Description and Sell Priceii. %!o/ #ie$ds:
1. Description2. %e$$ Price
iii. %ort: Ascending on %e$$ Price ,e$d
3. Buestion: *%!o/ t!e product records for %upp$ier %C+i. Nae of Buer-: Products From SCii. %!o/ #ie$ds: A$$iii. Criteria:
%upp$ier Code #ie$d: %C
4. Buestion: *%!o/ t!e product records) /!ere On and units are greater t!an
or eua$ to 1@+i. Nae of Buer-: On and !" 10ii. %!o/ #ie$ds: A$$
iii. Criteria:
On and ,e$d: E1@
6. Buestion: *%!o/ records /!ere %e$$ Price is $ess t!an F1@ and On and units
are greater t!an or eua$ to ;+i. Nae of Buer-: Sell Price # $10 %&D On and !"8ii. %!o/ #ie$ds:
1. Description2. %e$$ Price'. On and
iii. Criteria 7AND Criteria goes on sae $ine 7ro/88:
%e$$ Price ,e$d: G1@AND On and ,e$d: E;
Create Wooden Crafts Database Page 22of 24
7/26/2019 Acces Database Cheat Sheet
23/24
9. Buestion: *%!o/ Products t!at !a"e a %e$$ Price bet/een F4 and F1@+i. Nae of Buer-: Price 'et(een $5 and $10ii. %!o/ #ie$ds: a$$iii. Criteria 7(et/een Criteria8:
%e$$ Price ,e$d: (et/een 4 AND 1@i". %ort: Ascending on %e$$ Price ,e$d
;. Buestion: *%!o/ records for t!e %upp$iers %C or AP+
i. Nae of Buer-: Suppliers )SC* O+ )%P*ii. %!o/ #ie$ds: a$$iii. Criteria7O? Criteria goes on diHerent $ines 7ro/s88:
%upp$ier Code ,e$d: %C
O?
%upp$ier Code ,e$d: AP
>. Buestion: *Ca$cu$ate a"erage %e$$ Price+i. Nae of Buer-: A,era-e Sell Priceii. %!o/ #ie$ds:
1. %e$$ Priceiii. ota$s ?o/:
1. A"g function
1@. Buestion: *Ca$cu$ate a"erage %e$$ Price for eac! %upp$ier+i. Nae of Buer-: A,era-e Sell Price ./ Supplierii. %!o/ #ie$ds:
1. %e$$ Price2. %upp$ier Code
iii. ota$s ?o/:1. %e$$ Price: A"g function2. %upp$ier Code: roup b-
Create Wooden Crafts Database Page 23of 24
7/26/2019 Acces Database Cheat Sheet
24/24
11. Buestion: *Ca$cu$ate In"entor- 0a$ue+i. Nae of Buer-: n,entor/ alueii. %!o/ #ie$ds:
1. Descriptioniii. Cac$uated #ie$d:
In"entor- 0a$ue:JOn andKLJCostK
12. Buestion: *ross Pro,t per Product+
i. Nae of Buer-: ross Prot per Productii. %!o/ #ie$ds:1. Description
iii. Cac$uated #ie$d:
ross Pro,t:J%e$$ PriceKJCostK
1'. Buestion: *%!o/ records t!at !a"e a Description t!at contains ?AI