gilbenl Posted February 1, 2013 Posted February 1, 2013 I have a db with the following tables, with pertinent fields listed: Locations-pk_LocationID, Location, Bed, Service Observers- pk_ObserverID, ObserverName TimeClock- pk_ClockID, TimeIN, TimeOUT, Date Cases- pk_CaseID, Date, Start Time. Delays- pk_DelayID, DelayCode, Duration For a given record, a location can have one observer, each observer can have multiple cases, but each case has only one observer, and each case can have multiple delays (fixed list of delay codes). For the time clock, each observer can have multiple time clock entries, but each entry can have only one observer. Time clock entries do not need a relationship to/don't reference the other tables. Data entry is entirely through a layout referencing the 'cases' table. As a result, when a new record is created through the cases table, a new observer and location record is created. I use a portal to enter delays via the cases table, so for each caseID, I have multiple delay records. The first file shows the relationships I have now (I have removed everything but the tables/fields). The second file contains where I believe I need to put in some join tables. I'd really appreciate some feedback! Examples.zip
Recommended Posts
This topic is 4373 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now