Others

How to Create an Access Form to Select Furniture and Calculate Room Costs

Khadija KhanKhadija Khan Oct 26, 2026 868 views

Question details

The user needs to build a Microsoft Access database form that allows users to select furniture from a drop-down list, view its associated cost, enter a quantity, and automatically calculate the total cost for each room.

How to Create an Access Form to Select Furniture and Calculate Costs
Product
Microsoft Access
Device & OS
not provided
Scenario
Managing room furniture inventory and calculating total expenses using a structured relational database.
Observed behavior
Requires configuring a many-to-many relationship, building a main form with a subform, configuring a combo box, and adding calculated fields.
Before you start

Before building your forms, compile a complete list of your furniture inventory (including product names and accurate prices) and the names of the rooms you plan to furnish.

Solution 1Recommended

Design the Relational Database Tables

Set up a many-to-many relationship using three tables to ensure data integrity and accurately track furniture quantities across different rooms.

Because one room can hold multiple furniture items, and one type of furniture can be placed in multiple rooms, you must build a many-to-many relationship. This requires a third 'junction' table to link the data.

1
Create the Furniture Table

Open Access and create a table named 'Furniture'. Add 'FurnitureID' as the Primary Key, 'Product Name' as Short Text, and 'Cost' set to the Currency data type.

2
Create the Rooms Table

Create a second table named 'Rooms'. Add 'RoomID' as the Primary Key and 'Room Name' as Short Text.

3
Create the Junction Table

Create a third table named 'FurnitureInRooms'. Add 'FurnitureID', 'RoomID', and a 'Quantity' field (Number type, with a default value of 1). Make the combination of FurnitureID and RoomID the Primary Key.

4
Enforce Referential Integrity

Navigate to Database Tools > Relationships. Drag the tables into the view, link the corresponding ID fields, and check the box to 'Enforce Referential Integrity' to prevent orphaned records.

Design the Relational Database Tables
Currency Data Type: Always use the Currency data type instead of Short Text for your cost fields to prevent rounding errors during financial calculations.
Easy Inventory Management

Create a Furniture Selection Calculator in WPS Spreadsheet

You don't need a complex Microsoft Access database to track furniture costs. WPS Spreadsheet allows you to easily create a room-by-room furniture selector with intuitive drop-down lists, automatic cost lookups, and total calculations.

  1. 1. Create a Furniture Price List: Open WPS Spreadsheet, create a new sheet named 'Furniture Data', and list your Furniture Names and Costs in two columns.
  2. 2. Set Up the Room Calculation Sheet: Create a second sheet for 'Rooms'. Add column headers for Room Name, Furniture Selection, Cost, Quantity, and Total.
  3. 3. Insert Drop-Down Lists: Select the cells under 'Furniture Selection', go to the 'Data' tab, click 'Validation', and choose 'List'. Select the furniture names from your data sheet as the source.
  4. 4. Automate Cost Lookups: In the Cost column, use the VLOOKUP function (e.g., '=VLOOKUP(B2, 'Furniture Data'!A:B, 2, FALSE)') to automatically fetch the price of the selected furniture.
  5. 5. Calculate the Total Cost: In the Total column, enter a simple formula multiplying the Cost by the Quantity (e.g., '=C2*D2') to get your room totals instantly.
No complex database programming requiredFully compatible with Microsoft Excel (.xlsx) formatsUse built-in Data Validation for intuitive drop-down listsAutomatically fetch prices using the VLOOKUP function
microsoft office alternative - wps office

Frequently Asked Questions

Why should I use the Currency data type for costs in Access?

The Currency data type prevents rounding errors that can occur with standard floating-point numbers. It ensures accurate financial totals when multiplying unit costs by item quantities.

How do I create a drop-down list in a Microsoft Access form?

You can use the Combo Box control. Simply add it to your form while in Design View, and the built-in Combo Box Wizard will guide you through linking the drop-down to your product or inventory table.

What is a many-to-many relationship in Access?

A many-to-many relationship occurs when multiple records in one table relate to multiple records in another. For example, a room can have many furniture items, and a specific furniture item can be placed in many rooms. This requires creating a third 'junction' table to function correctly.

Can I build a drop-down selection form without Microsoft Access?

Yes. If you want to avoid building a full database, you can easily create drop-down lists using the Data Validation feature in applications like WPS Spreadsheet, combined with VLOOKUP formulas to fetch prices automatically.