Forum Discussion
MattStephens
9 years agoQrew Cadet
Here's a much cleaner way of setting up your database:
https://beca.quickbase.com/db/bmnx9r95z
- You should have a separate Vendors table to list all your vendors.
- Your Orders table won't need multiple vendor fields (this is good database practice too)
- Add a new OrderVendors table and create the following three relationships to it:
- Orders is the parent
- Vendors is the parent
- Orders is also a child.
- In the Vendors (parent) to OrderVendors (child) relationship, add a lookup to the Vendor name (if not already included in the OrderVendors table)
- In the OrderVendors (parent) to Orders (child) relationship, create a lookup field to Vendor - name. This field then becomes your drop-down field that you wanted.
https://beca.quickbase.com/db/bmnx9r95z
trobergetroberg
9 years agoQrew Cadet
Awesome thanks...I will play with this. My challenge is that our database is old and already has many records set up the way I show in my example.
> I will set up the tables as you recommended and see if there will be some way of changing how things are done now, with this new method of handling Vendors.
> truly appreciate your prompt feedback - now I got some work to do ;-)
> I will set up the tables as you recommended and see if there will be some way of changing how things are done now, with this new method of handling Vendors.
> truly appreciate your prompt feedback - now I got some work to do ;-)