Forum Moderators: open
I am trying to develop an Access DB for items I've bought and sold on Ebay. I am however trying to start using a normalised format - as I want to do the job properly.
1) Does anyone know of any tutorials which would help me?
2) I just thought I'd run something by you re the relations of my tables.
I have at the moment 3 tables
- Name
NameID,EbayID,First_Name,Second_Name,
1,chuckster,Chuck,Wormington
2,Jakester,Jacob,Fotheringay
etc...
- Item
ItemID,Description
1,Washing Wachine
2,Scooter
etc...
- Deals
dealID,ItemID,SellerID,PurchaserID
1,1,1,2
2,1,2,1
etc...
My relationships are
Itemid(items) -> Itemid(deals)
nameid(name) -> Sellerid(deals)
nameid(name) -> Buyerid(Deals)
Am I going about this the right way?
Any help greatly received.
Thanks
Doug
Just cary on & keep test the designs by how easy it is to construct Insert, Update, Select queries, including reports and how easy it is to extend the model, import and export data.
Think long term and try come up with possible ways to get incorrect data in te dataabse i.e bulk upload, delteing related records using code to enfore rules instead of the database or by mistakes in data enty. All these test the design for 'fit for purpose'-ness much better than following tutorials on the theory of how to do it.
HTH
nameid(name) -> Sellerid(deals)
nameid(name) -> Buyerid(Deals)
Two roles on the same table! Maybe rename the table BuyersAndSellers, Names is a bad name! When you make Views try to remove one of these relations or you can get a bit of a mess.