We read your photo as:
Design and outline the implementation of a simple MS Access database for managing member transactions, including table structures, primary keys, and data types.
ScanSolve AI Answer
TASK A: DATABASE MANAGEMENT
1. Database Design:
-
a) Create the tblMember table structure... showing field names and data types.
- tblMember
- MemberID: Short Text (or Number, if IDs are purely numeric)
- MemberName: Short Text
- BranchLocation: Short Text
- tblTransaction
- TransactionID: Short Text (or Number)
- TransactionType: Short Text
- Amount: Currency
- LoanPurpose: Short Text
- tblTransactionRecord
- RecordID: Short Text (or Number)
- MemberID: Short Text (or Number)
- TransactionID: Short Text (or Number)
- TransactionDate: Date/Time
- tblMember
-
b) State the PRIMARY KEY for each of the three tables.
- tblMember: MemberID
- tblTransaction: TransactionID
- tblTransactionRecord: RecordID
-
c) What is the most appropriate data type for the TransactionDate field?
- Date/Time
2. Database Implementation:
-
a) Using MS Access, create a new database named BYEC_DB.accdb.
- Action: Open MS Access and create a new blank database, saving it as
BYEC_DB.accdb.
- Action: Open MS Access and create a new blank database, saving it as
-
b) Create the three tables with their respective structures and set the primary keys.
- Action: In
BYEC_DB.accdb, create the tablestblMember,tblTransaction, andtblTransactionRecordwith the field names and data types specified in 1a. Set the primary keys as specified in 1b.
- Action: In
-
c) Establish relationships between the tables, enforcing referential integrity.
- Action: Establish the following relationships:
tblMember.MemberIDtotblTransactionRecord.MemberIDtblTransaction.TransactionIDtotblTransactionRecord.TransactionID
- Ensure "Enforce Referential Integrity" is checked for both relationships.
- Action: Establish the following relationships:
-
d) Populate the tables with the data provided in Table 1.
- Action: Enter the data from Table 1 into the respective tables. For example:
tblMemberwill contain unique MemberIDs, MemberNames, and BranchLocations.tblTransactionwill contain unique TransactionIDs, TransactionTypes, Amounts, and LoanPurposes.tblTransactionRecordwill contain RecordIDs, MemberIDs, TransactionIDs, and TransactionDates.
- Action: Enter the data from Table 1 into the respective tables. For example:
3. Query Design using SQL View:
-
a) Create a query that displays MemberName, Amount, and TransactionDate for all "Loan Disbursement" transactions. Save the query as qryLoansDisbursed.
-
b) Create a query to show the total savings deposits made by members in the "Buea" branch. The output should show BranchLocation and TotalSavings. Save the query as qryBueaTotalSavings.
-
c) Create a parameter query that prompts the user to enter a MemberID and then displays all transactions for that member. Save it as qryMemberTransactions.
4. Reporting:
-
a) Create a formatted report based on qryLoansDisbursed, grouped by LoanPurpose (add the LoanPurpose field from tblTransaction to the fields of qryLoansDisbursed).
- Action:
- Modify
qryLoansDisbursedto includetblTransaction.LoanPurpose. - Use the Report Wizard in MS Access to create a new report based on the modified
qryLoansDisbursed. - Group the report by
LoanPurpose. - Format the report as desired.
- Modify
- Action:
-
b) Print the tblTransactionRecord and the qryLoansDisbursed datasheet view.
- Action:
- Open the
tblTransactionRecordtable in Datasheet View and print it. - Open the
qryLoansDisbursedquery in Datasheet View and print it.
- Open the
- Action:
TASK B: SPREADSHEET MANAGEMENT
1. Data Manipulation:
- a) In the DataEntry sheet, column H, enter the heading "Status". Write a function in cell H2 to display "Loan" if the transaction is a loan, "Repayment" if it's a repayment, and "Savings" otherwise. Copy the formula down for all transactions. Write the formula used in cell H5.
- Assuming
TransactionTypeis in column E (e.g., E2 for the first transaction, E5 for the fifth transaction). - The formula for cell H5 is:
- Assuming
Still stuck on this one?
Ask a follow-up, and the answer starts from this question.