Download presentation
Presentation is loading. Please wait.
Published byPhilippa Horn Modified over 8 years ago
1
Sample template for portfolio - I would prefer to see you do something more original!
2
This is Access 2007 which we started to use today to create a database. When I click on new it gives me the chance to name a database with a.accdb extension and choose where to store it.
3
The name I gave the database is student.accdb
4
It loads showing the datasheet. That is not what I want to work with, so I click on the icon with the tools.
5
I also renamed this to stu, on the next slide you will see stu instead of table1.
6
Now it is in design view which is what I want to use to create the structure. I want to give my name to the fields and my data types as well. I do not want auto number because it numbers as 1, 2, 3 etc.
7
I am now in design mode. I changed the name of the field to stuid and made it a data type of text - it could have been number.
8
Now I have changed the size from the default of 255 to a more realistic number of 4. This field is the primary key which means it must contain a unique stuid.
11
Now I am adding fields to the record structure. stuname has a type of text and a size of 45.
13
Do not put embedded spaces in the field name. You can use an underscore, or you can change case on the first letter of the new word as I did no the next slide or you can just put in all together which was my solution.
15
I made this a numeric field of type integer.
16
This number has decimals so I made it type single.
18
If I click on view I will see the datasheet view where I can start to enter data.
19
Now I can key in data. Remember that stuid has to hold unique data. No two stuids can be the same.
20
Discussion of the homework assignment.
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.