Hi,
I'm creating a dropdownlist where the user can choose between different units.
The user should be able to choose between the general unit being "PCS" or the sub-unit (could be gr, kg, boxes etc..) which is mentioned in another field of the record. Main idea behind this is that the user has the freedom to be able to select the full quantity of a record or a smaller quantities in logical units.
Lets say one PCS = 10 boxes (instead of for example 0,2 PCS the user can enter 2 boxes).
So I want to create a dropdown value list based on a combination of two sources:
- 1 fixed value, which is always the same (in my case it is value "PCS")
- 1 value based on the sub-unit mentioned in another field in the same table (in this case this could be one of these values "GR", "KG", "BOXES"...)
Example:
Database table "Stock" has two fields named "Sub_unit" and "Chosen_unit"
A dropdown is needed for "Chosen_unit" containing 2 values: "PCS" (= the fixed value) and value from "Sub_unit" being "BOXES"
Can anyone help me to create this value list?
Best regards,
Solvax