How to Create an Access Form to Select Furniture and Calculate Room Costs
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.

- 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 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.
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.
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.
Create a second table named 'Rooms'. Add 'RoomID' as the Primary Key and 'Room Name' as Short Text.
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.
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.

Build the Main Form and Subform with a Combo Box
Construct the user interface utilizing a main form for the rooms and a related subform for selecting furniture via a drop-down menu.
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. 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. 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. 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. 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. 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.

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.




