SlideShare a Scribd company logo
1 of 4
Download to read offline
acct 361- accounting analytics-Access Table Lab
accounting exercise and need support to help me learn.
pls see the attachments below
Requirements: vary
ACCT-361: Tables Lab Exercise Creating the Linking Table and Relationships Pets-R-US
Pets-R-Us entered the retail sales business just a few days ago and has experienced fair
success. Pets-R-Us products include food, treats, grooming, and medical supplies for dogs
and cats. The owners hope to expand the business into a chain at many area shopping
centers. You have been asked to review data collected from Pets-R-Us for the first few days
of operations. The following is an REA model with cardinalities of the sales event only. The
objective of this exercise is to help you learn how to create the linking table with a joint
primary key and the relationships with referential integrity. We will use this database for
future instruction and assignments. Required: 1.The four main tables have already been
created and populated.2.You will create the required linking table for the *.* relationship as
detailed on the REA model. Allfive tables are listed below, along with their primary and
foreign keys. The remaining attributesare detailed on the next page.Master tables Event
tables tblCustomer: Customer ID tblInventory: Item # tblAssociate: Sales Clerk ID
tblSale: Invoice #, [Customer ID], [Clerk ID] tblSale-Merchandise: [Invoice#], [Item #]
3.Create the relationships among the foreign and primary keys. Be certain to enforce
referentialintegrity. Add input masks as appropriate. We will learn more about input masks
and validationrules in our forms and controls labs.4.Populate the linking table with the
records listed for that table on page two of these instructions.Only a few records have been
selected for each table to keep data entry time down for thisexercise.5.To view the E-R
diagram and copy the image of your screen (for future assignments and theproject): From
the toolbar, select Database Tools and then Relationships. To create the image,simply press
the “print screen” key on your keypad. This will copy the screen image to yourclipboard.
Open a Word document and select copy to copy the contents of your clipboard.
6. To view the “data dictionary,” which documents each table and its properties, select the
documenter in the database tools tab. Select the tables and choose “OK.” In the options, you
can restrict the output. I typically choose only the items for the table and “Nothing” for fields
and indexes. Populated tables: tblCustomer Customer ID First Name Last Name Street
Address City State Zip Telephone 100 Anita Hamburger 1424 5th St Hagerstown MD 21740
3016049222 101 Evan Chapman 405 Hickory Ln Fairfax VA 22031 7034524909 102
Charlie Shockey 1434 Wilshire Ave Baltimore MD 21066 3016026992 tblInventory Item #
Description Sales Price BQOH BQOH Date Standard Cost Reorder Point CA052 Super Catnip
Leaves & Blossoms $2.81 32 31-May-16 $1.50 20 CB003 Class Act II Oval Cat Dish $12.80 6
31-May-16 $7.65 2 DF020 Bio Spot Flea and Tick Dog Collar $7.72 39 31-May-16 $3.70 15
tblSalesClerk Sales Clerk ID Clerk Name SSN Commission Rate 1 Baker, Heather 234-34-
5212 $0.02 2 Hylton, Constance 401-93-8888 $0.02 tblSale Invoice # Invoice Date Sales
Clerk ID Customer ID 1001 01-Jun-16 1 100 1002 01-Jun-16 2 101 1003 01-Jun-16 1 102
tblSale-Inventory Invoice # Item # Qty Sold 1001 CA052 5 1001 CB003 1 1002 DF020 2
1003 CA052 1 1003 DF020 1
ACCT-361: Helpful Hints
Tables and Relationships
Create a New Database
Using your start button, locate the Microsoft Office folder under “All Programs” and click on
Microsoft Access. Choose a blank database and click “Create”.
Create a New Table
Select the Create tab and then choose Table Design in the create toolbar. Once you have
chosen a field name and a data type, carefully review the field properties at the lower part
of the screen. You may want to change the size or format of the field, create input masks, or
add validation rules. We will learn more about the masks and rules in our controls lab.
Set Primary Key
Highlight the row of the field you wish to make the primary key by clicking in the gray box
next to the row. Select the Primary Key icon on the toolbar.
To remove the key from a field, highlight the row of the field. Select the key icon on the
toolbar.
To create a composite primary key using two attributes, highlight both rows at the same
time and select the key icon.
Create Relationships and Enforce Referential Integrity
Select the Database Tools tab. Click on the Relationships icon on the toolbar. It resembles
an ER diagram. Select the tables in your database one at a time. If you accidentally close the
window that lists your tables, select the “Show Tables” icon on the toolbar under the Design
tab.
To create the relationships, highlight a foreign key in your table. Drag it and place it on top
of the corresponding primary key in the related table.
A window will pop up that allows you to edit the relationship. Select “Enforce Referential
Integrity.”
If you forgot to enforce referential integrity when setting your relationships, in the
relationships window, highlight the relationship line and right click. A short-cut menu will
appear that will allow you to edit the relationship.
To Return to the “Design” View of a Table
There are two ways. The first is to double-click the table name in the object window. This
will open the table in datasheet view. It will also provide a Design icon in the Home tab.
This icon resembles a protractor. Click on the icon to view the table design. The quicker
way to do this is to right click on the table name in the object window. This will open a
short-cut menu where you can choose “Design View.”
Two Mistakes that Will Cause Error Reporting When Creating Relationships
Data type mismatches – the PK and FK must be of the same data type
Referential integrity error – there is data in the FK field that does not exist in the PK field of
the related table.
ACCT-361: Helpful Hints
Tables and Relationships
Create a New Database
Using your start button, locate the Microsoft Office folder under “All Programs” and click on
Microsoft Access. Choose a blank database and click “Create”.
Create a New Table
Select the Create tab and then choose Table Design in the create toolbar. Once you have
chosen a field name and a data type, carefully review the field properties at the lower part
of the screen. You may want to change the size or format of the field, create input masks, or
add validation rules. We will learn more about the masks and rules in our controls lab.
Set Primary Key
Highlight the row of the field you wish to make the primary key by clicking in the gray box
next to the row. Select the Primary Key icon on the toolbar.
To remove the key from a field, highlight the row of the field. Select the key icon on the
toolbar.
To create a composite primary key using two attributes, highlight both rows at the same
time and select the key icon.
Create Relationships and Enforce Referential Integrity
Select the Database Tools tab. Click on the Relationships icon on the toolbar. It resembles
an ER diagram. Select the tables in your database one at a time. If you accidentally close the
window that lists your tables, select the “Show Tables” icon on the toolbar under the Design
tab.
To create the relationships, highlight a foreign key in your table. Drag it and place it on top
of the corresponding primary key in the related table.
A window will pop up that allows you to edit the relationship. Select “Enforce Referential
Integrity.”
If you forgot to enforce referential integrity when setting your relationships, in the
relationships window, highlight the relationship line and right click. A short-cut menu will
appear that will allow you to edit the relationship.
To Return to the “Design” View of a Table
There are two ways. The first is to double-click the table name in the object window. This
will open the table in datasheet view. It will also provide a Design icon in the Home tab.
This icon resembles a protractor. Click on the icon to view the table design. The quicker
way to do this is to right click on the table name in the object window. This will open a
short-cut menu where you can choose “Design View.”
Two Mistakes that Will Cause Error Reporting When Creating Relationships
Data type mismatches – the PK and FK must be of the same data type
Referential integrity error – there is data in the FK field that does not exist in the PK field of
the related table.

More Related Content

Similar to acct accounting Table Lab.pdf

Part 1 - Microsoft AccessView GlossaryUse Access to create a.docx
Part 1 - Microsoft AccessView GlossaryUse Access to create a.docxPart 1 - Microsoft AccessView GlossaryUse Access to create a.docx
Part 1 - Microsoft AccessView GlossaryUse Access to create a.docxhoney690131
 
Building your first power apps from scratch a step by step walkthrough
Building your first power apps from scratch   a step by step walkthroughBuilding your first power apps from scratch   a step by step walkthrough
Building your first power apps from scratch a step by step walkthroughSanjiv Venkatram
 
Mic office access tutorial for beginners
Mic office access tutorial for beginnersMic office access tutorial for beginners
Mic office access tutorial for beginnersAimina Salsabila
 
CS1100 Access Lab 1 Creating and Querying Database.docx
CS1100 Access Lab 1  Creating and Querying Database.docxCS1100 Access Lab 1  Creating and Querying Database.docx
CS1100 Access Lab 1 Creating and Querying Database.docxfaithxdunce63732
 
Create a basic performance point dashboard epc
Create a basic performance point dashboard   epcCreate a basic performance point dashboard   epc
Create a basic performance point dashboard epcEPC Group
 
MS Office Access Tutorial
MS Office Access TutorialMS Office Access Tutorial
MS Office Access TutorialvirtualMaryam
 
Pivot tableinfo
Pivot tableinfoPivot tableinfo
Pivot tableinfoKA25EE855
 
CIS 3100 - Database Design and ImplementationProducts on Sale Da.docx
CIS 3100 - Database Design and ImplementationProducts on Sale Da.docxCIS 3100 - Database Design and ImplementationProducts on Sale Da.docx
CIS 3100 - Database Design and ImplementationProducts on Sale Da.docxmccormicknadine86
 
CIS 310 ACCESS AssignmentObjective of this assignment is to pr.docx
CIS 310 ACCESS AssignmentObjective of this assignment is to pr.docxCIS 310 ACCESS AssignmentObjective of this assignment is to pr.docx
CIS 310 ACCESS AssignmentObjective of this assignment is to pr.docxclarebernice
 
- Database Design and ImplementationProducts on Sale Database fo.docx
- Database Design and ImplementationProducts on Sale Database fo.docx- Database Design and ImplementationProducts on Sale Database fo.docx
- Database Design and ImplementationProducts on Sale Database fo.docxgertrudebellgrove
 
Ms access
Ms accessMs access
Ms accessnavidhiman
 
Pivot-Table-Handout1-projectcubicle lecture notes
Pivot-Table-Handout1-projectcubicle lecture notesPivot-Table-Handout1-projectcubicle lecture notes
Pivot-Table-Handout1-projectcubicle lecture notesProject Cubicle
 
ACTG Tableau intro labDownload the TableauLab file and look ov.docx
ACTG   Tableau intro labDownload the TableauLab file and look ov.docxACTG   Tableau intro labDownload the TableauLab file and look ov.docx
ACTG Tableau intro labDownload the TableauLab file and look ov.docxnettletondevon
 
Lesson Five Building Table Relationships
Lesson Five   Building Table RelationshipsLesson Five   Building Table Relationships
Lesson Five Building Table Relationshipsguevarra_2000
 
Customizing Forms
Customizing FormsCustomizing Forms
Customizing FormsEMAINT
 
Product Supplier59,58,8,2.50CIS 3100 - Database Desig.docx
Product Supplier59,58,8,2.50CIS 3100 - Database Desig.docxProduct Supplier59,58,8,2.50CIS 3100 - Database Desig.docx
Product Supplier59,58,8,2.50CIS 3100 - Database Desig.docxstilliegeorgiana
 
Microsoft Access 2007
Microsoft Access 2007Microsoft Access 2007
Microsoft Access 2007Reshma Arun
 

Similar to acct accounting Table Lab.pdf (20)

Part 1 - Microsoft AccessView GlossaryUse Access to create a.docx
Part 1 - Microsoft AccessView GlossaryUse Access to create a.docxPart 1 - Microsoft AccessView GlossaryUse Access to create a.docx
Part 1 - Microsoft AccessView GlossaryUse Access to create a.docx
 
Introduction to Microsoft Access2.ppt
Introduction to Microsoft Access2.pptIntroduction to Microsoft Access2.ppt
Introduction to Microsoft Access2.ppt
 
Building your first power apps from scratch a step by step walkthrough
Building your first power apps from scratch   a step by step walkthroughBuilding your first power apps from scratch   a step by step walkthrough
Building your first power apps from scratch a step by step walkthrough
 
Mic office access tutorial for beginners
Mic office access tutorial for beginnersMic office access tutorial for beginners
Mic office access tutorial for beginners
 
CS1100 Access Lab 1 Creating and Querying Database.docx
CS1100 Access Lab 1  Creating and Querying Database.docxCS1100 Access Lab 1  Creating and Querying Database.docx
CS1100 Access Lab 1 Creating and Querying Database.docx
 
Create a basic performance point dashboard epc
Create a basic performance point dashboard   epcCreate a basic performance point dashboard   epc
Create a basic performance point dashboard epc
 
Ms Access
Ms AccessMs Access
Ms Access
 
MS Office Access Tutorial
MS Office Access TutorialMS Office Access Tutorial
MS Office Access Tutorial
 
Pivot tableinfo
Pivot tableinfoPivot tableinfo
Pivot tableinfo
 
CIS 3100 - Database Design and ImplementationProducts on Sale Da.docx
CIS 3100 - Database Design and ImplementationProducts on Sale Da.docxCIS 3100 - Database Design and ImplementationProducts on Sale Da.docx
CIS 3100 - Database Design and ImplementationProducts on Sale Da.docx
 
Ms Access
Ms AccessMs Access
Ms Access
 
CIS 310 ACCESS AssignmentObjective of this assignment is to pr.docx
CIS 310 ACCESS AssignmentObjective of this assignment is to pr.docxCIS 310 ACCESS AssignmentObjective of this assignment is to pr.docx
CIS 310 ACCESS AssignmentObjective of this assignment is to pr.docx
 
- Database Design and ImplementationProducts on Sale Database fo.docx
- Database Design and ImplementationProducts on Sale Database fo.docx- Database Design and ImplementationProducts on Sale Database fo.docx
- Database Design and ImplementationProducts on Sale Database fo.docx
 
Ms access
Ms accessMs access
Ms access
 
Pivot-Table-Handout1-projectcubicle lecture notes
Pivot-Table-Handout1-projectcubicle lecture notesPivot-Table-Handout1-projectcubicle lecture notes
Pivot-Table-Handout1-projectcubicle lecture notes
 
ACTG Tableau intro labDownload the TableauLab file and look ov.docx
ACTG   Tableau intro labDownload the TableauLab file and look ov.docxACTG   Tableau intro labDownload the TableauLab file and look ov.docx
ACTG Tableau intro labDownload the TableauLab file and look ov.docx
 
Lesson Five Building Table Relationships
Lesson Five   Building Table RelationshipsLesson Five   Building Table Relationships
Lesson Five Building Table Relationships
 
Customizing Forms
Customizing FormsCustomizing Forms
Customizing Forms
 
Product Supplier59,58,8,2.50CIS 3100 - Database Desig.docx
Product Supplier59,58,8,2.50CIS 3100 - Database Desig.docxProduct Supplier59,58,8,2.50CIS 3100 - Database Desig.docx
Product Supplier59,58,8,2.50CIS 3100 - Database Desig.docx
 
Microsoft Access 2007
Microsoft Access 2007Microsoft Access 2007
Microsoft Access 2007
 

More from bkbk37

Range of.docx
Range of.docxRange of.docx
Range of.docxbkbk37
 
Ralph Waldo Emerson.docx
Ralph Waldo Emerson.docxRalph Waldo Emerson.docx
Ralph Waldo Emerson.docxbkbk37
 
Raising Minimum An explanation of the its.docx
Raising Minimum An explanation of the its.docxRaising Minimum An explanation of the its.docx
Raising Minimum An explanation of the its.docxbkbk37
 
Rail Project A goal of the Obama administration.docx
Rail Project A goal of the Obama administration.docxRail Project A goal of the Obama administration.docx
Rail Project A goal of the Obama administration.docxbkbk37
 
Racism toward Indigenous peoples in Canada.docx
Racism toward Indigenous peoples in Canada.docxRacism toward Indigenous peoples in Canada.docx
Racism toward Indigenous peoples in Canada.docxbkbk37
 
Race and.docx
Race and.docxRace and.docx
Race and.docxbkbk37
 
R2P and Syria.docx
R2P and Syria.docxR2P and Syria.docx
R2P and Syria.docxbkbk37
 
Racial Disparities.docx
Racial Disparities.docxRacial Disparities.docx
Racial Disparities.docxbkbk37
 
Race and Technology.docx
Race and Technology.docxRace and Technology.docx
Race and Technology.docxbkbk37
 
QuickBooks uses windows API to follow orders to get updates.docx
QuickBooks uses windows API to follow orders to get updates.docxQuickBooks uses windows API to follow orders to get updates.docx
QuickBooks uses windows API to follow orders to get updates.docxbkbk37
 
Questions What are the purposes of Just.docx
Questions What are the purposes of Just.docxQuestions What are the purposes of Just.docx
Questions What are the purposes of Just.docxbkbk37
 
Questions to Each group you read about is.docx
Questions to Each group you read about is.docxQuestions to Each group you read about is.docx
Questions to Each group you read about is.docxbkbk37
 
Questions that must be answered in your plus other.docx
Questions that must be answered in your plus other.docxQuestions that must be answered in your plus other.docx
Questions that must be answered in your plus other.docxbkbk37
 
Questions for Brief Explicit Spiritual.docx
Questions for Brief Explicit Spiritual.docxQuestions for Brief Explicit Spiritual.docx
Questions for Brief Explicit Spiritual.docxbkbk37
 
Question Libya recently announced that it is claiming a.docx
Question Libya recently announced that it is claiming a.docxQuestion Libya recently announced that it is claiming a.docx
Question Libya recently announced that it is claiming a.docxbkbk37
 
Question Use the Internet or the IGlobal Resource.docx
Question Use the Internet or the IGlobal Resource.docxQuestion Use the Internet or the IGlobal Resource.docx
Question Use the Internet or the IGlobal Resource.docxbkbk37
 
Question Please define motivation and discuss why it is.docx
Question Please define motivation and discuss why it is.docxQuestion Please define motivation and discuss why it is.docx
Question Please define motivation and discuss why it is.docxbkbk37
 
Question share your perspective on personal data as a.docx
Question share your perspective on personal data as a.docxQuestion share your perspective on personal data as a.docx
Question share your perspective on personal data as a.docxbkbk37
 
QEP Assignment Death Penalty.docx
QEP Assignment Death Penalty.docxQEP Assignment Death Penalty.docx
QEP Assignment Death Penalty.docxbkbk37
 
Question In your what are the main workforce.docx
Question In your what are the main workforce.docxQuestion In your what are the main workforce.docx
Question In your what are the main workforce.docxbkbk37
 

More from bkbk37 (20)

Range of.docx
Range of.docxRange of.docx
Range of.docx
 
Ralph Waldo Emerson.docx
Ralph Waldo Emerson.docxRalph Waldo Emerson.docx
Ralph Waldo Emerson.docx
 
Raising Minimum An explanation of the its.docx
Raising Minimum An explanation of the its.docxRaising Minimum An explanation of the its.docx
Raising Minimum An explanation of the its.docx
 
Rail Project A goal of the Obama administration.docx
Rail Project A goal of the Obama administration.docxRail Project A goal of the Obama administration.docx
Rail Project A goal of the Obama administration.docx
 
Racism toward Indigenous peoples in Canada.docx
Racism toward Indigenous peoples in Canada.docxRacism toward Indigenous peoples in Canada.docx
Racism toward Indigenous peoples in Canada.docx
 
Race and.docx
Race and.docxRace and.docx
Race and.docx
 
R2P and Syria.docx
R2P and Syria.docxR2P and Syria.docx
R2P and Syria.docx
 
Racial Disparities.docx
Racial Disparities.docxRacial Disparities.docx
Racial Disparities.docx
 
Race and Technology.docx
Race and Technology.docxRace and Technology.docx
Race and Technology.docx
 
QuickBooks uses windows API to follow orders to get updates.docx
QuickBooks uses windows API to follow orders to get updates.docxQuickBooks uses windows API to follow orders to get updates.docx
QuickBooks uses windows API to follow orders to get updates.docx
 
Questions What are the purposes of Just.docx
Questions What are the purposes of Just.docxQuestions What are the purposes of Just.docx
Questions What are the purposes of Just.docx
 
Questions to Each group you read about is.docx
Questions to Each group you read about is.docxQuestions to Each group you read about is.docx
Questions to Each group you read about is.docx
 
Questions that must be answered in your plus other.docx
Questions that must be answered in your plus other.docxQuestions that must be answered in your plus other.docx
Questions that must be answered in your plus other.docx
 
Questions for Brief Explicit Spiritual.docx
Questions for Brief Explicit Spiritual.docxQuestions for Brief Explicit Spiritual.docx
Questions for Brief Explicit Spiritual.docx
 
Question Libya recently announced that it is claiming a.docx
Question Libya recently announced that it is claiming a.docxQuestion Libya recently announced that it is claiming a.docx
Question Libya recently announced that it is claiming a.docx
 
Question Use the Internet or the IGlobal Resource.docx
Question Use the Internet or the IGlobal Resource.docxQuestion Use the Internet or the IGlobal Resource.docx
Question Use the Internet or the IGlobal Resource.docx
 
Question Please define motivation and discuss why it is.docx
Question Please define motivation and discuss why it is.docxQuestion Please define motivation and discuss why it is.docx
Question Please define motivation and discuss why it is.docx
 
Question share your perspective on personal data as a.docx
Question share your perspective on personal data as a.docxQuestion share your perspective on personal data as a.docx
Question share your perspective on personal data as a.docx
 
QEP Assignment Death Penalty.docx
QEP Assignment Death Penalty.docxQEP Assignment Death Penalty.docx
QEP Assignment Death Penalty.docx
 
Question In your what are the main workforce.docx
Question In your what are the main workforce.docxQuestion In your what are the main workforce.docx
Question In your what are the main workforce.docx
 

Recently uploaded

Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfMr Bounab Samir
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPCeline George
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfMahmoud M. Sallam
 
Blooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docxBlooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docxUnboundStockton
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
CELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxCELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxJiesonDelaCerna
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupJonathanParaisoCruz
 
Meghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentMeghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentInMediaRes1
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17Celine George
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxAvyJaneVismanos
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfUjwalaBharambe
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...JhezDiaz1
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 

Recently uploaded (20)

Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERP
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdf
 
Blooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docxBlooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docx
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
CELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxCELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptx
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized Group
 
Meghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentMeghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media Component
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptx
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 

acct accounting Table Lab.pdf

  • 1. acct 361- accounting analytics-Access Table Lab accounting exercise and need support to help me learn. pls see the attachments below Requirements: vary ACCT-361: Tables Lab Exercise Creating the Linking Table and Relationships Pets-R-US Pets-R-Us entered the retail sales business just a few days ago and has experienced fair success. Pets-R-Us products include food, treats, grooming, and medical supplies for dogs and cats. The owners hope to expand the business into a chain at many area shopping centers. You have been asked to review data collected from Pets-R-Us for the first few days of operations. The following is an REA model with cardinalities of the sales event only. The objective of this exercise is to help you learn how to create the linking table with a joint primary key and the relationships with referential integrity. We will use this database for future instruction and assignments. Required: 1.The four main tables have already been created and populated.2.You will create the required linking table for the *.* relationship as detailed on the REA model. Allfive tables are listed below, along with their primary and foreign keys. The remaining attributesare detailed on the next page.Master tables Event tables tblCustomer: Customer ID tblInventory: Item # tblAssociate: Sales Clerk ID tblSale: Invoice #, [Customer ID], [Clerk ID] tblSale-Merchandise: [Invoice#], [Item #] 3.Create the relationships among the foreign and primary keys. Be certain to enforce referentialintegrity. Add input masks as appropriate. We will learn more about input masks and validationrules in our forms and controls labs.4.Populate the linking table with the records listed for that table on page two of these instructions.Only a few records have been selected for each table to keep data entry time down for thisexercise.5.To view the E-R diagram and copy the image of your screen (for future assignments and theproject): From the toolbar, select Database Tools and then Relationships. To create the image,simply press the “print screen” key on your keypad. This will copy the screen image to yourclipboard. Open a Word document and select copy to copy the contents of your clipboard. 6. To view the “data dictionary,” which documents each table and its properties, select the documenter in the database tools tab. Select the tables and choose “OK.” In the options, you can restrict the output. I typically choose only the items for the table and “Nothing” for fields and indexes. Populated tables: tblCustomer Customer ID First Name Last Name Street Address City State Zip Telephone 100 Anita Hamburger 1424 5th St Hagerstown MD 21740 3016049222 101 Evan Chapman 405 Hickory Ln Fairfax VA 22031 7034524909 102
  • 2. Charlie Shockey 1434 Wilshire Ave Baltimore MD 21066 3016026992 tblInventory Item # Description Sales Price BQOH BQOH Date Standard Cost Reorder Point CA052 Super Catnip Leaves & Blossoms $2.81 32 31-May-16 $1.50 20 CB003 Class Act II Oval Cat Dish $12.80 6 31-May-16 $7.65 2 DF020 Bio Spot Flea and Tick Dog Collar $7.72 39 31-May-16 $3.70 15 tblSalesClerk Sales Clerk ID Clerk Name SSN Commission Rate 1 Baker, Heather 234-34- 5212 $0.02 2 Hylton, Constance 401-93-8888 $0.02 tblSale Invoice # Invoice Date Sales Clerk ID Customer ID 1001 01-Jun-16 1 100 1002 01-Jun-16 2 101 1003 01-Jun-16 1 102 tblSale-Inventory Invoice # Item # Qty Sold 1001 CA052 5 1001 CB003 1 1002 DF020 2 1003 CA052 1 1003 DF020 1 ACCT-361: Helpful Hints Tables and Relationships Create a New Database Using your start button, locate the Microsoft Office folder under “All Programs” and click on Microsoft Access. Choose a blank database and click “Create”. Create a New Table Select the Create tab and then choose Table Design in the create toolbar. Once you have chosen a field name and a data type, carefully review the field properties at the lower part of the screen. You may want to change the size or format of the field, create input masks, or add validation rules. We will learn more about the masks and rules in our controls lab. Set Primary Key Highlight the row of the field you wish to make the primary key by clicking in the gray box next to the row. Select the Primary Key icon on the toolbar. To remove the key from a field, highlight the row of the field. Select the key icon on the toolbar. To create a composite primary key using two attributes, highlight both rows at the same time and select the key icon. Create Relationships and Enforce Referential Integrity Select the Database Tools tab. Click on the Relationships icon on the toolbar. It resembles an ER diagram. Select the tables in your database one at a time. If you accidentally close the window that lists your tables, select the “Show Tables” icon on the toolbar under the Design tab. To create the relationships, highlight a foreign key in your table. Drag it and place it on top of the corresponding primary key in the related table. A window will pop up that allows you to edit the relationship. Select “Enforce Referential Integrity.” If you forgot to enforce referential integrity when setting your relationships, in the relationships window, highlight the relationship line and right click. A short-cut menu will appear that will allow you to edit the relationship. To Return to the “Design” View of a Table There are two ways. The first is to double-click the table name in the object window. This will open the table in datasheet view. It will also provide a Design icon in the Home tab. This icon resembles a protractor. Click on the icon to view the table design. The quicker
  • 3. way to do this is to right click on the table name in the object window. This will open a short-cut menu where you can choose “Design View.” Two Mistakes that Will Cause Error Reporting When Creating Relationships Data type mismatches – the PK and FK must be of the same data type Referential integrity error – there is data in the FK field that does not exist in the PK field of the related table. ACCT-361: Helpful Hints Tables and Relationships Create a New Database Using your start button, locate the Microsoft Office folder under “All Programs” and click on Microsoft Access. Choose a blank database and click “Create”. Create a New Table Select the Create tab and then choose Table Design in the create toolbar. Once you have chosen a field name and a data type, carefully review the field properties at the lower part of the screen. You may want to change the size or format of the field, create input masks, or add validation rules. We will learn more about the masks and rules in our controls lab. Set Primary Key Highlight the row of the field you wish to make the primary key by clicking in the gray box next to the row. Select the Primary Key icon on the toolbar. To remove the key from a field, highlight the row of the field. Select the key icon on the toolbar. To create a composite primary key using two attributes, highlight both rows at the same time and select the key icon. Create Relationships and Enforce Referential Integrity Select the Database Tools tab. Click on the Relationships icon on the toolbar. It resembles an ER diagram. Select the tables in your database one at a time. If you accidentally close the window that lists your tables, select the “Show Tables” icon on the toolbar under the Design tab. To create the relationships, highlight a foreign key in your table. Drag it and place it on top of the corresponding primary key in the related table. A window will pop up that allows you to edit the relationship. Select “Enforce Referential Integrity.” If you forgot to enforce referential integrity when setting your relationships, in the relationships window, highlight the relationship line and right click. A short-cut menu will appear that will allow you to edit the relationship. To Return to the “Design” View of a Table There are two ways. The first is to double-click the table name in the object window. This will open the table in datasheet view. It will also provide a Design icon in the Home tab. This icon resembles a protractor. Click on the icon to view the table design. The quicker way to do this is to right click on the table name in the object window. This will open a short-cut menu where you can choose “Design View.” Two Mistakes that Will Cause Error Reporting When Creating Relationships
  • 4. Data type mismatches – the PK and FK must be of the same data type Referential integrity error – there is data in the FK field that does not exist in the PK field of the related table.