Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

Selecting value list category when entering field


This topic is 5583 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted (edited)

I really don't know how to write this down, but anyway I hope someone could decrypt my text­.

First, let say I want to create a house building database.

- Houses table, which are the houses to build.

- Components table, which contains all the stuff such as windows type, roofing, doors, etc. where each record holds the standard pricing for each component.

- Categories table, which is the components categories.

- There are all the tables that links the houses table with the components. (selectedWindows, selectedRoofing, selectedDoors, ...)

So here are my relationships :D

sshot45.jpg

By nbourre

As you can see, there are multiple occurrences for components.

How can I create a value list that select only the good category of components? With the less thinking for the user.

Edited by Guest
Posted

How can I create a value list that select only the good category of components? With the less thinking for the user.

What is a good category?

Posted

Let say there's house layout on which we have a single field for each kind of components.

The drop-down list are windows::fkStructureID, doors::fkStructureID and roofing::fkStructureID.

Since all these components are in a single a table, how can I categorize the components value list?

Posted

I've found a workaround. Since all the values are categorized with a primary key, I've created a drop-down list table in which there is only unstored calculation of values from 1 to 8.

I attach an occurrence of the components table to the ddl table for each category.

Here's the picture.

sshot46.jpg

By nbourre

This way, I don't need to manage a global value to select the right value list and there's no screen flickering.

This topic is 5583 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.