SlideShare a Scribd company logo
Primary keys
    A table can only have one primary key. A primary key is a field or set
    of fields that:


    •Has a unique value for each record
    •Is indexed
    •Identifies the record
    • It uniquely defines a relationship within a database.
    • It is a field or a combination of two or more fields. The value in the
    primary key field for each record uniquely identifies that record.




Specify Primary Keys
Foreign keys
    A foreign key, simply stated, is another table's primary key. The values
    in a foreign key field match values in the primary key, indicating that
    the two records are related — for example, a customer and an order
    that she has placed. Unlike primary keys:


    •A table can have more than one foreign key.
    •A foreign key does not necessarily have unique values.




Specify Foreign Keys
•A foreign key cannot reliably identify a particular record. For example, you
    cannot always tell which record you are viewing from the Orders table by
    looking at the Customer ID.


    You create a foreign key when you use the Lookup Wizard to create a field.




Specify Foreign Keys
For example, each customer might have
many orders. Rather than store the
customer's address in each record in the
Orders table, you store that information
once in a record in the Customers table. To
combine the customer information with the
rest of the information about the order, you
create a relationship between the two
tables, by using key fields.
    You can add the primary key from one table to another table to
    create a relationship between them. In the other table, it is called a
    foreign key.
    For example, suppose you use the primary key of the Customers
    table in the Orders table. In the Orders table it is a foreign key.
Legend:
1 Primary Keys
2 Foreign Keys
Add records directly to a
table in datasheet view
A table open in Datasheet view resembles an Excel worksheet, and you
can type or paste data into one or more fields — the equivalent of a cell in
a worksheet.
Remember these facts as you proceed.

 You do not need to explicitly save your data. Access commits your
  changes to the table when you move the cursor to a new field in the
  same row, or when you move the cursor to another row.
 By default, the fields in an Access database are set to accept a specific
  type of data, such as text or numbers. You must enter the type of data
  that the field is set to accept. If you don't, Access displays an error
  message:

 A field may have an input mask applied. An input mask is a set of literal
  and placeholder characters that force you to enter data in a specific
  format.
TLE
TLE

More Related Content

What's hot

Database Fundamentals
Database FundamentalsDatabase Fundamentals
Database Fundamentalswmassie
 
Keys used in database
Keys used in databaseKeys used in database
Keys used in database
university of Gujrat, pakistan
 
Html tables
Html tablesHtml tables
Mail merge in MS word MobView
Mail merge in MS word MobViewMail merge in MS word MobView
Mail merge in MS word MobView
Manik Bhola
 
HTML Tables
HTML TablesHTML Tables
HTML Tables
WaheedaBanoShaikh
 
Database Keys & Relationship
Database Keys & RelationshipDatabase Keys & Relationship
Database Keys & Relationship
Bellal Hossain
 
Intro to Data warehousing lecture 12
Intro to Data warehousing   lecture 12Intro to Data warehousing   lecture 12
Intro to Data warehousing lecture 12
AnwarrChaudary
 
WebAppGeneXpress_How_To_Presentation
WebAppGeneXpress_How_To_PresentationWebAppGeneXpress_How_To_Presentation
WebAppGeneXpress_How_To_Presentation
supertime2000
 
Understanding about relational database m-square systems inc
Understanding about relational database m-square systems incUnderstanding about relational database m-square systems inc
Understanding about relational database m-square systems inc
Muthu Natarajan
 
Ms access tutorial
Ms access tutorialMs access tutorial
Ms access tutorialminga48
 
Transfers procedures 1
Transfers procedures 1Transfers procedures 1
Transfers procedures 1fitlibrary-cat
 
HED Education Full Text
HED Education Full TextHED Education Full Text
HED Education Full TextWade Lee
 
SAP ABAP data dictionary
SAP ABAP data dictionarySAP ABAP data dictionary
SAP ABAP data dictionary
Revanth Nagaraju
 
Database Relationships
Database RelationshipsDatabase Relationships
Database Relationshipswmassie
 
Creating relationships with tables
Creating relationships with tablesCreating relationships with tables
Creating relationships with tablesJhen Articona
 
SharePoint Lists 101 (Text)
SharePoint Lists 101 (Text)SharePoint Lists 101 (Text)
SharePoint Lists 101 (Text)
Thomas Duff
 

What's hot (20)

Database Fundamentals
Database FundamentalsDatabase Fundamentals
Database Fundamentals
 
Keys used in database
Keys used in databaseKeys used in database
Keys used in database
 
SQL_Part1
SQL_Part1SQL_Part1
SQL_Part1
 
Database design
Database designDatabase design
Database design
 
Html tables
Html tablesHtml tables
Html tables
 
Mail merge in MS word MobView
Mail merge in MS word MobViewMail merge in MS word MobView
Mail merge in MS word MobView
 
HTML Tables
HTML TablesHTML Tables
HTML Tables
 
Database Keys & Relationship
Database Keys & RelationshipDatabase Keys & Relationship
Database Keys & Relationship
 
Intro to Data warehousing lecture 12
Intro to Data warehousing   lecture 12Intro to Data warehousing   lecture 12
Intro to Data warehousing lecture 12
 
WebAppGeneXpress_How_To_Presentation
WebAppGeneXpress_How_To_PresentationWebAppGeneXpress_How_To_Presentation
WebAppGeneXpress_How_To_Presentation
 
Chapter 10
Chapter 10Chapter 10
Chapter 10
 
Understanding about relational database m-square systems inc
Understanding about relational database m-square systems incUnderstanding about relational database m-square systems inc
Understanding about relational database m-square systems inc
 
Ms access tutorial
Ms access tutorialMs access tutorial
Ms access tutorial
 
Transfers procedures 1
Transfers procedures 1Transfers procedures 1
Transfers procedures 1
 
HED Education Full Text
HED Education Full TextHED Education Full Text
HED Education Full Text
 
SAP ABAP data dictionary
SAP ABAP data dictionarySAP ABAP data dictionary
SAP ABAP data dictionary
 
Database Relationships
Database RelationshipsDatabase Relationships
Database Relationships
 
Creating relationships with tables
Creating relationships with tablesCreating relationships with tables
Creating relationships with tables
 
SharePoint Lists 101 (Text)
SharePoint Lists 101 (Text)SharePoint Lists 101 (Text)
SharePoint Lists 101 (Text)
 
SPSS
SPSSSPSS
SPSS
 

Viewers also liked

301121 20act6
301121 20act6301121 20act6
301121 20act6
jacastilloay
 
Surat ijin lab ento
Surat ijin lab entoSurat ijin lab ento
Surat ijin lab ento
Ahmad Halimunnur
 
Materials design for young learners pdf
Materials design for young learners pdfMaterials design for young learners pdf
Materials design for young learners pdfana belen balbuena
 
Teori Belajar Kognitivisme 2
Teori Belajar Kognitivisme 2Teori Belajar Kognitivisme 2
Teori Belajar Kognitivisme 2Charis Muhammad
 
Chemical and mechanical energy
Chemical and mechanical energyChemical and mechanical energy
Chemical and mechanical energyAiza Orobio
 
Teori Belajar Kognitivisme 1
Teori Belajar Kognitivisme 1Teori Belajar Kognitivisme 1
Teori Belajar Kognitivisme 1Charis Muhammad
 
Job Sheet Pembongkaran, pemeriksaan dan perakitan starter
Job Sheet Pembongkaran, pemeriksaan dan perakitan starterJob Sheet Pembongkaran, pemeriksaan dan perakitan starter
Job Sheet Pembongkaran, pemeriksaan dan perakitan starter
Charis Muhammad
 
Grandes vasos arteriales y venosos
Grandes vasos arteriales y venososGrandes vasos arteriales y venosos
Grandes vasos arteriales y venosos
DiiaNne Farrayans
 

Viewers also liked (11)

301121 20act6
301121 20act6301121 20act6
301121 20act6
 
301121 20act6
301121 20act6301121 20act6
301121 20act6
 
Surat ijin lab ento
Surat ijin lab entoSurat ijin lab ento
Surat ijin lab ento
 
Materials design for young learners pdf
Materials design for young learners pdfMaterials design for young learners pdf
Materials design for young learners pdf
 
Esp worksheet
Esp worksheetEsp worksheet
Esp worksheet
 
Teori Belajar Kognitivisme 2
Teori Belajar Kognitivisme 2Teori Belajar Kognitivisme 2
Teori Belajar Kognitivisme 2
 
Report
ReportReport
Report
 
Chemical and mechanical energy
Chemical and mechanical energyChemical and mechanical energy
Chemical and mechanical energy
 
Teori Belajar Kognitivisme 1
Teori Belajar Kognitivisme 1Teori Belajar Kognitivisme 1
Teori Belajar Kognitivisme 1
 
Job Sheet Pembongkaran, pemeriksaan dan perakitan starter
Job Sheet Pembongkaran, pemeriksaan dan perakitan starterJob Sheet Pembongkaran, pemeriksaan dan perakitan starter
Job Sheet Pembongkaran, pemeriksaan dan perakitan starter
 
Grandes vasos arteriales y venosos
Grandes vasos arteriales y venososGrandes vasos arteriales y venosos
Grandes vasos arteriales y venosos
 

Similar to TLE

Keys.pptx
Keys.pptxKeys.pptx
Keys.pptx
revathi s
 
Dbms keysppt
Dbms keyspptDbms keysppt
Dbms keysppt
ArunakumariAkula1
 
computer-210809080138.pdf
computer-210809080138.pdfcomputer-210809080138.pdf
computer-210809080138.pdf
rahulsharma571283
 
Types Of Keys in DBMS
Types Of Keys in DBMSTypes Of Keys in DBMS
Types Of Keys in DBMS
PadamNepal1
 
Dbms keys
Dbms keysDbms keys
Dbms keys
RUpaliLohar
 
DBMS Keys.pptx
DBMS Keys.pptxDBMS Keys.pptx
DBMS Keys.pptx
AryanGour1
 
Ms Access ppt
Ms Access pptMs Access ppt
Ms Access ppt
anuj
 
Wagx how to_presentation
Wagx how to_presentationWagx how to_presentation
Wagx how to_presentation
supertime2000
 
Types of keys in dbms
Types of keys in dbmsTypes of keys in dbms
Types of keys in dbms
darshhingu
 
Types of keys in database | SQL
Types of keys in database | SQLTypes of keys in database | SQL
Types of keys in database | SQL
Sumit Pandey
 
DBMS
DBMSDBMS
DBMS
emran nur
 
5. relational structure
5. relational structure5. relational structure
5. relational structure
khoahuy82
 
Key,ID Field and Tables Relationship
Key,ID Field and Tables Relationship Key,ID Field and Tables Relationship
Key,ID Field and Tables Relationship
ShouaQureshi
 
Advance database system(part 5)
Advance database system(part 5)Advance database system(part 5)
Advance database system(part 5)
Abdullah Khosa
 
Sql ch 12 - creating database
Sql ch 12 - creating databaseSql ch 12 - creating database
Sql ch 12 - creating database
Mukesh Tekwani
 
DBMS key topic Presentation slide 1.pptx
DBMS key topic Presentation slide 1.pptxDBMS key topic Presentation slide 1.pptx
DBMS key topic Presentation slide 1.pptx
sonudhakad173
 
ChoiAccess.ppt
ChoiAccess.pptChoiAccess.ppt
ChoiAccess.ppt
ljgmcrone
 
Microsoft Access ppt.ppt
Microsoft Access ppt.pptMicrosoft Access ppt.ppt
Microsoft Access ppt.ppt
JoshCasas1
 
ChoiAccess.pptbuhuhujhhuhuhuhuhuhhhhhhhhhhhhh
ChoiAccess.pptbuhuhujhhuhuhuhuhuhhhhhhhhhhhhhChoiAccess.pptbuhuhujhhuhuhuhuhuhhhhhhhhhhhhh
ChoiAccess.pptbuhuhujhhuhuhuhuhuhhhhhhhhhhhhh
hazhamina
 

Similar to TLE (20)

Keys.pptx
Keys.pptxKeys.pptx
Keys.pptx
 
Dbms keysppt
Dbms keyspptDbms keysppt
Dbms keysppt
 
computer-210809080138.pdf
computer-210809080138.pdfcomputer-210809080138.pdf
computer-210809080138.pdf
 
Types Of Keys in DBMS
Types Of Keys in DBMSTypes Of Keys in DBMS
Types Of Keys in DBMS
 
Dbms keys
Dbms keysDbms keys
Dbms keys
 
DBMS Keys.pptx
DBMS Keys.pptxDBMS Keys.pptx
DBMS Keys.pptx
 
Ms Access ppt
Ms Access pptMs Access ppt
Ms Access ppt
 
Wagx how to_presentation
Wagx how to_presentationWagx how to_presentation
Wagx how to_presentation
 
Types of keys in dbms
Types of keys in dbmsTypes of keys in dbms
Types of keys in dbms
 
Types of keys in database | SQL
Types of keys in database | SQLTypes of keys in database | SQL
Types of keys in database | SQL
 
DBMS
DBMSDBMS
DBMS
 
5. relational structure
5. relational structure5. relational structure
5. relational structure
 
Key,ID Field and Tables Relationship
Key,ID Field and Tables Relationship Key,ID Field and Tables Relationship
Key,ID Field and Tables Relationship
 
Advance database system(part 5)
Advance database system(part 5)Advance database system(part 5)
Advance database system(part 5)
 
Sql ch 12 - creating database
Sql ch 12 - creating databaseSql ch 12 - creating database
Sql ch 12 - creating database
 
CIS145 Final Review
CIS145 Final ReviewCIS145 Final Review
CIS145 Final Review
 
DBMS key topic Presentation slide 1.pptx
DBMS key topic Presentation slide 1.pptxDBMS key topic Presentation slide 1.pptx
DBMS key topic Presentation slide 1.pptx
 
ChoiAccess.ppt
ChoiAccess.pptChoiAccess.ppt
ChoiAccess.ppt
 
Microsoft Access ppt.ppt
Microsoft Access ppt.pptMicrosoft Access ppt.ppt
Microsoft Access ppt.ppt
 
ChoiAccess.pptbuhuhujhhuhuhuhuhuhhhhhhhhhhhhh
ChoiAccess.pptbuhuhujhhuhuhuhuhuhhhhhhhhhhhhhChoiAccess.pptbuhuhujhhuhuhuhuhuhhhhhhhhhhhhh
ChoiAccess.pptbuhuhujhhuhuhuhuhuhhhhhhhhhhhhh
 

Recently uploaded

Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
kaushalkr1407
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
MysoreMuleSoftMeetup
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
GeoBlogs
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
joachimlavalley1
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
Celine George
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
TechSoup
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
MIRIAMSALINAS13
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
Jheel Barad
 
The Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve ThomasonThe Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve Thomason
Steve Thomason
 
PART A. Introduction to Costumer Service
PART A. Introduction to Costumer ServicePART A. Introduction to Costumer Service
PART A. Introduction to Costumer Service
PedroFerreira53928
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
Special education needs
 
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
Nguyen Thanh Tu Collection
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
Jisc
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Thiyagu K
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
Anna Sz.
 
Ethnobotany and Ethnopharmacology ......
Ethnobotany and Ethnopharmacology ......Ethnobotany and Ethnopharmacology ......
Ethnobotany and Ethnopharmacology ......
Ashokrao Mane college of Pharmacy Peth-Vadgaon
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
Jisc
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
Vikramjit Singh
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
Celine George
 

Recently uploaded (20)

Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
 
The Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve ThomasonThe Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve Thomason
 
PART A. Introduction to Costumer Service
PART A. Introduction to Costumer ServicePART A. Introduction to Costumer Service
PART A. Introduction to Costumer Service
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
 
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
 
Ethnobotany and Ethnopharmacology ......
Ethnobotany and Ethnopharmacology ......Ethnobotany and Ethnopharmacology ......
Ethnobotany and Ethnopharmacology ......
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
 

TLE

  • 1.
  • 2. Primary keys A table can only have one primary key. A primary key is a field or set of fields that: •Has a unique value for each record •Is indexed •Identifies the record • It uniquely defines a relationship within a database. • It is a field or a combination of two or more fields. The value in the primary key field for each record uniquely identifies that record. Specify Primary Keys
  • 3. Foreign keys A foreign key, simply stated, is another table's primary key. The values in a foreign key field match values in the primary key, indicating that the two records are related — for example, a customer and an order that she has placed. Unlike primary keys: •A table can have more than one foreign key. •A foreign key does not necessarily have unique values. Specify Foreign Keys
  • 4. •A foreign key cannot reliably identify a particular record. For example, you cannot always tell which record you are viewing from the Orders table by looking at the Customer ID. You create a foreign key when you use the Lookup Wizard to create a field. Specify Foreign Keys
  • 5. For example, each customer might have many orders. Rather than store the customer's address in each record in the Orders table, you store that information once in a record in the Customers table. To combine the customer information with the rest of the information about the order, you create a relationship between the two tables, by using key fields. You can add the primary key from one table to another table to create a relationship between them. In the other table, it is called a foreign key. For example, suppose you use the primary key of the Customers table in the Orders table. In the Orders table it is a foreign key.
  • 7. Add records directly to a table in datasheet view A table open in Datasheet view resembles an Excel worksheet, and you can type or paste data into one or more fields — the equivalent of a cell in a worksheet.
  • 8. Remember these facts as you proceed.  You do not need to explicitly save your data. Access commits your changes to the table when you move the cursor to a new field in the same row, or when you move the cursor to another row.  By default, the fields in an Access database are set to accept a specific type of data, such as text or numbers. You must enter the type of data that the field is set to accept. If you don't, Access displays an error message:  A field may have an input mask applied. An input mask is a set of literal and placeholder characters that force you to enter data in a specific format.