ms-access


How should I setup Shipping and Receiving tables for RDBMS?


Ok, so I am a student, and have VERY limited experience with databases, but I am trying to build the tables for a Shipping company for an assignment. Currently I have The following 10 tables [with attributes] (it will not allow me to post an image):
Table1
======
Customer[PK - CustId, CustAddressId(FK from table "Address"), CustBusName,....],
Table2
======
PU_Man [PK - PUManId, PUDate, PUComments, PUPackageId (FK from table "Package"),
PUCustId (FK from table "Customer"), PUDTID (FK from table DriverTruckRef)]
Table3
======
Del_Man [PK - DelManId, DelDate, DelComments,
DelPackageId (FK from table "Package"),
DelCustId (FK from table "Customer"),
DelDTId (FK from table DriverTruckRef)]
Table4
======
Truck [PK - TruckVin#, TimeLoggedOut, .....],
Table5
======
Driver [PK - DriverId, DriverFN, DriverLN,
DriverRoute# (FK from table "Route"),....]
Table6
======
DriverTruckRef [PK - DTId, DriverId (FK from table "Driver")]
Table7
======
Address [PK - AddressId,
AddressCustId (FK from Customer table),
Address1, Address2, City, State, Zip]
Table8
======
Package [PK - PackageId, PackagePUCondition,
PackagePUProblems, PackageDelCondition, PackageDelProblems]
Table9
======
Route [PK - RouteId, AddressId (FFK from table "Address")]
Table10
=======
Payment [PK - PaymentId,
PaymentCustomerId (FK from customer table),
PaymentPackageId (FK from "Package" table),
PaymentType, PaymentInfo, PaymentAmt,
PaymentAddressId (FK from table "Address")]
I know this is probably the easiest scenario out there for anyone who is experienced, but I am hoping someone can just rip this piece to shreds so that I can see the big picture. Before the shredding of my pride begins, I know the 1:1/n:m/1:m/etc relationships are incorrect, but I need a visual representation of the tables, and Access is what I had to go with. The PK/FK is more the focus.
Also, I am thinking maybe I need to break down the Payment table as well.
Any criticism and advice would be much appreciated.
Maybe this will get you started - every line is a table and the table details are omitted, focusing on keys
Customer
Customer*-Addresses*
Addresses
Packages
Destinations[Addresses,Packages]
DeliveryLog[Package,Driver,Route]
DeliveryAttemptLog[...]
Trucks
Trucks*-Drivers*
Drivers
Hubs
Hubs*-Trucks*
Hubs*-Drivers*
Locations[Packages,Hubs]
Loadings[Packages,Trucks]
Routes
Routes*-Addresses*
Packages*-Routes*
It can get pretty complicated depending on the flexibility you want.

Related Links

Access Caching ODBC connection settings
How to build the search form in ms-access
MS Access 2007 3044 Error
Assigning a Keyboard shortcut to a button in an Access 2007 form
ShellExecute() returns error code 5 when trying to open mdb file >10MB
Disable Check Box Based on Other Values
creating a server project in vb6 and ms-access
MS Access Dropdown List/Combo Box
How to communicate between two instances of open MDB with same form?
In Access 2007 CSV Export: Disable Scientific Notation
How do you format date fields of a Union Query in MS Access?
Porting MS Access application
automatically query and convert access db table to excel using vbs
Preserving linked tables for Access DBs in same folder when the folder changes
Disable warning: You copied a large amount of data onto the clipboard
How to get the name of Constraint?

Categories

HOME
activiti
server
relay
at-command
setup-deployment
analysis
microservices
echarts
datastax-java-driver
ssl-client-authentication
rascal
modelica
collectd
google-cloud-ml
vb.net-2010
usergrid
dosgi
openrefine
pythonanywhere
oracle-coherence
excel-vba-mac
contextmenu
karma-jasmine
jquery-ajaxq
rundeck
intel-pin
fopen
spring-mybatis
minitab
xacml
c++-amp
newline
nat
frame
usbserial
catalog
fusionpbx
overlap
swisscomdev
hilbert-curve
xenforo
webdriver-manager
lumberjack
tasker
ruby-on-rails-3.1
fakeiteasy
turbogears
babel-core
youcompleteme
pango
yii2-extension
media-player
dtexec
hittest
watchconnectivity
cubes
angular-strap
infix-notation
probability-density
dstu2-fhir
intrusion-detection
multi-level
gridview-sorting
hill-climbing
ready-api
packagist
whois
execute
cyclomatic-complexity
comobject
interrupted-exception
vstest.console.exe
p2
bridge.net
python-green
oxwall
coldbox
winddk
markers
rdl
datagridviewcolumn
resty-gwt
meteor-velocity
flexmojos
xsockets.net
.aspxauth
web2py-modules
bulkloader
cos
html4
eventual-consistency
mqx
wsdl-2.0
frameset
manchester-syntax
pendrive
assembly-loading
coercion
radcombobox
gallio
jquery-ui-droppable
nhibernate.search
photoshop-cs4
eqatec
private-members

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App