A very good day to all. I'm a 52 year old self taught so far so please be gentle with me hehe. Im designing a database for a small carpet shop. Eventually I will have tables for Suppliers, Customers, products, payments and orders which I believe are the entity types.
I've looked for days on the internet to try to determind the best way to handle address fields. Do I use a textbox with the address free written on several lines or do I have to define single fields, ie. appartment, building, number street town etc........ There are a lot of possible fields to cater for very different address details. does the way I shape this now affect how I will be able to search or print lables later and what about empty fields if I go down the muliple route.
Lastly, should I simply have an address table and not duplicate fields in the supplier & customer tables.
I appreciate any help as I've been stuck on this for ages.
I've looked for days on the internet to try to determind the best way to handle address fields. Do I use a textbox with the address free written on several lines or do I have to define single fields, ie. appartment, building, number street town etc........ There are a lot of possible fields to cater for very different address details. does the way I shape this now affect how I will be able to search or print lables later and what about empty fields if I go down the muliple route.
Lastly, should I simply have an address table and not duplicate fields in the supplier & customer tables.
I appreciate any help as I've been stuck on this for ages.