Relationship Design

Oct 1, 2005

Hi there

I have found this forum so helpful in the past I thought I would try my luck with getting a few more ideas for my next project.

I am designing a database used to track a persons working history and timesheet information for each of the jobs the person works in.

I work for a company that employees a heap of temp staff that often change jobs.
I would like to have a db that I can enter a person in once and be able to track all their details using a form with subforms for each of the relevant tables.

The basic design so far is I have 3 tables.
tblPersonalInformation tblBookingInformation tblTimesheets

tblPersonalInformation is as the name of table suggests contains all the persons personal details.

tblBookingInformation contains all the booking information for current past and future jobs.

tblTimesheets will contain the weekly timesheets.


I way I look at the design is that a person can have many bookings.
Simple create a join between tblPersonalInformation & tblBookingInformation.
A booking can have many timesheets again create a join between tblBookingInformation & tblTimesheets.

What I suspect to be a problem is that with using this design

1. I will be unable to add a booking without a person been associated with that record. This will cause a problem as often I will have booking that have yet been filled with a person.

2. A person will have many different timesheets from different bookings.

My questions are how can I design the tables so I can have bookings that are not associated with a person.
How do I create a join so I am able to pull all of a persons timesheet information or will my current idea of a join work to be able to show all the required information


Thank you for taking the time to help out.

View Replies


ADVERTISEMENT

Relationship Design

Nov 29, 2005

I am designing a db from an excel file that a volunteer org uses, i am the treasurer and I believe what they do in the spreadsheet would be easier in Access. I am familiar with tables, queries etc.
Where I am getting stuck is the relationships and getting it to work properly.
The database would need these tables based on the attached spreadsheet;
Students, Tutors, Workshops, Events, Student Payments, Tutor Payments.
NOTE: check the comments in each sheet in the spreadsheet for how the sheets work, but it is self explanatory.
I think the db would need to be based on the students and from that the workshops and events that they attend, the workshops need to be linked to the tutors, where it gets tricky is that tutors can also attend events.
Basically it would be a registration database, I've looked at the template from Microsoft.com called event management and it is sort of what needs to be done but not quite.
Any suggestions would be greatly appreciated.

Cheers
Optidisk

View 2 Replies View Related

Relationship Problems In Database Design.

Sep 20, 2005

I am trying to design a database that would help track the daily supply of natural gas on multiple contracts. Each contract has a supply side and a delivery side which are equal in volume (when fuel is taken into account). My problem begins with the fact that each contract has a different capacity. That capacity is a total of the capacities of each point on the contract. Some points are on multiple contracts so they have different capacities on different contracts. I can’t figure out how to setup the relationships in order to make this database successful. Any hints?

View 6 Replies View Related

Table Design And Relationship And Data Form

Apr 28, 2005

First of all, I want to say Thank you to everyone in this forum I have been reading just about every question in each Topic and I have pick up a lot more than I tough I knew. [Thank you]! I not sure how to ask this question or better yet write it. Here is my Situation I work for the NAVY as an Enlisted Personnel station in (New Orleans, LA) I have created a few databases for my workcenter and were simple enough that I managed. Now, I been task to help create a Call Center DataBase to keep track of Phone Calls and Issues the Agents(Employer received Daily) As well run other reports.

I am Including a copy of what I done so far. Can someone advise me about my Database Design? Does it makes sense? Are the Relationship seen good?
my frmCustomer is based on query (qSupport) I would like to know if the form and the SubForm are set up ok where I can have the Agents input data.
And one more thing on the frmMenu I have a few Text Boxes where I would like to display the total Amouth of Phone Calls received - as well the ones pending and Close? Any Criticism or Suggestion are more than welcome.

I hope my Question / Request makes sense. Thank you ....

V/R,
MrDix

View 3 Replies View Related

Queries :: Design View - Unable To See Relationship Tables At The Top

Sep 10, 2014

While viewing the query in design view, I am unable to see the relationship tables at the top.

View 3 Replies View Related

Queries :: Crosstab Design Is Slow When Opening And Saving In Design Mode?

Oct 6, 2014

I have had to use my first crosstab queries.

I now understand that when opening and saving crosstab queries Access (2010) runs that query to ascertain the column names. Unless you hard-code them. Running the query takes at least 20 minutes.
I have hard-coded where I can, but one report takes arbitrary dates so I can't hard-code them.

I believe that turning off AutoCorrect might make a difference to whether the query runs - but I don't want to turn it off.

View 6 Replies View Related

DATASHEET --- Allow Design Changes: Design View Only DOES NOT WORK

May 18, 2007

I have a sub form in DataSheet view and I would like to lock the design so that the User should not change the layout

Even when I set the property of the Datasheet “Allow Design Changes: Design View Only” users are able to unhide the hidden columns and they can also change the size of the column by dragging the column end line



Does any one know how to lock the design of datasheet ( I am using this sub form datasheet for data entry but do not want users to change the layout)



Thanks
Rahul

View 1 Replies View Related

Good Design? Bad Design? Problems..

May 5, 2005

I'm going to make up names and values -- I'm interested in the structure.

Table ALPHA:

COLA DAT1 DAT2 DAT3
1 5 7 9
2 4 14 8


Table BETA:

COLA_IND DAT1 DAT2 DATN
1 a b c

Table CHARLIE:

COLA_IND DAT1 DAT2
2 d e

Table DELTA:

COLA_IND DAT1 DAT2
2 f g


Ok, the idea here is that the data in table ALPHA contains data with COLA a key such that selecting 2 would yield the data row "4, 14, 8."

Now, COLA_IND is a "COLA" key for table ALPHA (sorry, I can never remember which side is called the foreign key). So, from tables BETA, CHARLIE and DELTA, I can access any row in ALPHA based on the key "COLA_IND"

Here's the fun part. When I build my query, it wants to use an inner join on the keys from all these tables... In order words:

SELECT blah blah blah INNER JOIN blah ON (ALPHA.COLA=BETA.COLA_IND) AND (ALPHA.COLA=CHARLIE.COLA_IND) AND (ALPHA.COLA=DELTA.COLA_IND)

What I'm looking to do is expand BETA, CHARLIE and DELTA with the information from ALPHA based on the key COLA_IND. I don't think this is doing what I want.

Any comments?

Thanks in advance...

View 1 Replies View Related

Query Design.DB Design Question

Sep 10, 2007

Hey,

I've got this problem and im 95% sure its going to need a query in order to achieve this answer im looking for.

I'm creating a Software Licensing Management db and its all working lovely. However my only problem remains is the graphical representation (text box within one of the forms) of howmany licenses are/aren't(doesnt matter if this number is a +/- number) available.

In order to achieve this answer I dont think you'l need the table structure of any of my tables other than these two:

tblLicenseInformation
License_ID
LicenseDescription
NumOfLicensesPurch
SoftwareOverview_ID

tblHardwareSoftwareLicense
HSL_ID
Hardware_ID
Vender_ID
Software_ID
AppEdition_ID
AppVersion_ID
SoftwareOverview_ID
License_ID

However I would like to add a column to either of these tables named 'Availability' or something similar which will show the licenses available.

I've tried a number of Update/Append queries but all have failed. I want this Available running variable held within the table due to it not changing to much of the current db design as i baisically finished the project and they asked for it! any ideas of how to efficiently achieve this will be much appreciated!

cheers

View 3 Replies View Related

Design View Keyboard Shortcut - Expand Columns In Design View Of A Query

Jun 5, 2014

I'm looking for a keyboard shortcut to expand the columns in "design view" of a query.

What I mean by this is rather than selecting all of the columns and double clicking to see the entire text, I'd like to be able to a shortcut.

The entire process as I see it involves 3 steps so I will need thesolution to the 3rd step.

(1) [ctrl+spacebar] to select initial column
(2) [shift+arrows] to select all of the columns I need
(3) [keyboard shortcut] will expand all of the columns "field" names to the size of the column heading

Alternatively, if you know of a shortcut that will expand the columns without having to select them first I'll take it!!

View 4 Replies View Related

Relationship??

Jan 14, 2006

Hi All,
I am new to access and this forum, so hello all.

I am trying to build a database to keep records of my bird sightings. As you might have surmised; I am a birder.

I have come to a holt on creating a complex relationship between the Bird Entry From and the table that contains a list of British birds.

In Bird Entry From two of the fields are for entry of the bird name, one field being the Common Name and the other being the Latin Name. They are both drop down lists that contain all the birds from the table, this being done by import data. The table that holds the bird list has two fields One is called Common Name and the other is called Latin Name, this being the same as the filed names in question in the Bird Entry From

This is where I am coming unstuck. What I would like to happen is that when I enter a bird in the Common Name field (either by typing until the bird is auto entered from the drop down or using the drop down to find the bird) it automatically enters the Latin name in the Latin Name field and visa-versa, but I have become very frustrated with trying to do this.

Am I wasting my time? Or is it possible? And if so would anyone be kind enough to tell me how?

Many thanks,

Simon.

View 8 Replies View Related

Relationship Help Need

Feb 28, 2007

Hi i need help with one of my relationships

I need help with linking Member 1: N Reservations

the entites are

Video (Vcode, VTitle, Date Made, Director, Genre)
Copy (CopyNum, Vcode, Due Date)
Loan (LoanMemNum, CopyNum, Ldate, In, Out)
Member (MemNum, MName, MAddress)
Reservation (VCode, resMemNum, Resdate, CollectDate. Collected Not Collected)

The keys are underlined

Cheers

View 1 Replies View Related

Relationship

May 16, 2007

Hi there!

I've three tables in my database, tblInfo, tblSavedInfo & tblCountry.
for tblInfo I have this fields - Ref: Cost: RefCountry:
for tblSavedInfo I have this fields - Ref: Cost: Country:
for tblcountry I have this fields - RefCountry: Country:

My problem is when I save from tblinfo to tblSavedInfo I want it from RefCountry on tblInfo check wich country is on tblCountry and save on tblSavedRef the country instead the refCountry.

As tblInfo has about 200.000 rows I need something to make it quick. Is there anyone that can help me please.

Thanks

View 2 Replies View Related

Many-to-many-to-many Relationship

Jul 25, 2005

Any advice? I've tried some things and no success with linkage

Rooms Table
RoomID
Room No
Type
Desc

Project Table
Project ID
Project
Desc
Faculty Assignment
Project Grant No
Sponsor
Project End Date

Student Table
Student ID
Students

Many rooms with many projects, many of those projects in many of those room, with many students working on those projects. Many rooms, many projects, many students. Argh...
I've already tried two junctions between rooms and projects // and projects and rooms

What is making this so difficult?

View 3 Replies View Related

Relationship Help Please

Aug 14, 2005

As you all know Im not a expert on databases but work in a volunteer basis in a small community area where we have no money for people to do anything for us.
Im proud because I did the other database and its up and working but this one has got me beat.
Im setting up one for the volunteers, which has computer knowledge, any basic training they need, when they are available and what tasks have been set for them.
I need to have a one form which has just their personal details but to be able to put in data on the other forms and it will link back to the volunteers name.
Ive attached what Ive done and Im sure your all going to laugh - but any help would be appreciated

Barnesy

View 5 Replies View Related

Many To One Relationship (I Think...)

Aug 19, 2005

Trying to set up a fairly simple DB. Here is the layout:

tblRoom(roomID, roomNumber, rackOne, rackTwo, rackThree)
tblStudent(studentID, name)

Each student will be assigned to one, and only one, rack. There will be 3 students to one room. One student can only have one room but a room can have many students... I store studentID in the rackOne, Two and Three fields. My problem is when I try and querry for the information so as to display actual names rather than ID's. I'm not sure If my querry is the problem or if I've set the tables up incorrectly. Any insight is much appreciated.

View 2 Replies View Related

Relationship Help

Aug 30, 2005

Hello,

I'm having some problems setting this up right.

I have 3 databases.

Volunteers

FIRST
LAST NAME both primary

Movie Data

MOVIE
DATEboth primary

Attendance

MOVIE
DATE

USHER 1 First
Usher 1 LAST

View 1 Replies View Related

Relationship Help

Aug 30, 2005

Hello,

I'm having some problems setting this up right.

I have 3 databases.

Volunteers

FIRST
LAST NAME both primary

Movie Data

MOVIE
DATEboth primary

Attendance

MOVIE
DATE

USHER 1 First
Usher 1 LAST

USHER 2 FIRST
USHER 2 LAST

AUTOKEY PRIMARY

I have a one to many relationship between the movie and date between the attendance and movie data table. I have tried linking the name to the usher fields but I"m not getting the result I want. I want to be able to open up the volunteer table and have it show me the movies they have worked on. The movie data table will list who worked it, but the volunteer tables are not.

Any ideas?

Thanks,
Cody

View 11 Replies View Related

Relationship Help

Sep 11, 2005

I have to tbls which have indeterminate relationships and I'm told that ther is no unique index found why is this?

i am using emplyID on both tblCommission and tblSales both are number type.

I might not need the commission table as I'm using this is calculate commission as said im my previous post

View 1 Replies View Related

1 Or 0 Relationship

Nov 4, 2005

at one point in my database I have two tables and for everyone record in one table I may have either 1 or 0 records in the other. How do I express this in access design? Since it's an optional 1 to 1 relationship I guess?

View 1 Replies View Related

Relationship Help!

Mar 3, 2006

I was wondering if anyone could help me with a query. Basically I am doing (or trying to do) a small database to track childrens progress in my mums primary school. I'm doing this for free as the budget is rubbish for this type of thing and i dont have enough knowledge to ask for payment anyway! I want to get it right from the start and I think if I get the relationships right initially then I can complete the rest of it on my own. I did this at university (normalisation etc) but ive not used it since i left in 2002 and so have practically forgotten everything i ever did.

Basically, the child comes into the school and is predicted a level in maths, reading and writing. Then in the october, feb and july of each of the 2 years they are there, they are given actual assessment levels. They are also given a prediction level at the beginning of year 2.

So far I have one table with student no, surname, first name, gender, ethnicity, year group and SEN(special educational needs) - with the primary key being student no.

This is where I get stuck - do I go for a maths, reading and writing tables and split it that way - or on an assessment basis, so prediction yr1, october yr1, feb yr 1 etc etc. Or is this completely wrong? Am sooooo confused, so any help would be greatly appreciated.

The outcome I want is to be able to query a childs progress, so for example: show children who achieved a 1a in yr1 maths, and then out of those children, who achieved a 2a in y2 maths (as this is the required shift in progress set by government). I really hope that makes sense.

Thanks in advance
Nicola

View 3 Replies View Related

One-to-One And Many-to-Many Relationship

May 10, 2006

I'm rebuilding my database from scratch now that I've learned a bit from the forums about developing a proper database and I want to investigate whether I have the relationships set up correctly, as I seem to be using lot of one-to-one relationship, which most articles say is very rare, and whether I am formulating many to many relationship correctly. Here is a screenshot of my relationship.

If I've understood this correctly, one-on-one is desired if you have a subset of data that is applicable to the main table only occasionally and is dependent on the main table's data. Have I used that correctly?

As for many to many relationship, articles say this is formed by having two one to many relationship linked together in a table. In my screenshot, you can see that tblAdvocacyVisit is the linking table. However, I've set GuestID as a one-one relationship whereas ClientID is one to many relationship, reasoning that since I do need to relate the Guestl Logbook data to Advocacy table for some queries I will be performing later, this will save me some work. I'm afraid that this may compromise RI or something like that. I can simply add a PK autonumber to tblAdvocacy to revert the GuestID as a one-many relationship, but can't see how that would not create more work in queries or so...

Oh, are the lookup tables supposed to be related at all?

TIA.

Edit- Updated the relationship screenshot.

View 14 Replies View Related

Many-to-many Relationship

Jul 27, 2006

I’m building a database of protein mutants we use in the lab. A lot of analysis is done on these proteins by various people and it’s becoming a bit of a nightmare keeping track of all the information per protein. What we need is a database. I’m getting a reasonable grip on it all I think with the excellent examples I have found on the forum but there are obviously areas that I have great difficulty with. The main problem for now is that many-to-many relationships are involved and I just cannot get them to work properly.

On each protein up to 8 different types of test are performed. To keep things easy I’ll call them A1 (for Analysis1), A2, A3 etc. These are done by different people from a group of 7. I’ve called them O1 (Operator1), O2, O3 etc. Each of the operators can do multiple analysis and the operators overlap. So e.g. O1 might be particularly good at A1, A4 and A7, O2 might be good at A2, A4 and A5, and O3 predominantly does A1, A4 and A6. What it comes down to is that each operator can in principle do each of the analysis so I have to give that option in the database.
What does work (but is not the solution as it introduces 8x duplication of data) is if I have a separate table with operators for each analysis. The same tblOperators is linked 8 times. There must be a way to link each of the analyis to only 1 tblOperators, probably with the use of a linking but I just cannot work it out from the examples I've found here.

Can someone help me on my way please?

Thanks,
Walter

View 7 Replies View Related

Relationship Help

Nov 20, 2006

New guy on the block here.

I am having trouble associating the relationships within a database to accomplish what I need. I don't know if I am over thinking or I just plain old don't get it. So, I ask if someone can draft this database up rather easily and post it for me or send me in the right direction to learn quickly.

This is what I am looking for: A table with people’s first name, last name, title, job position. That is it. I can do that and have done that. No problems.

Another table that has amplifying data on that person such as: date of birth, SSN, date employed, comments, etc.

What I envision is, creating a form to add the names, title, and job position of the people to the table.

Then I want to create another form that puts the other data associated with that person. This other form should have the first and last name from the first record to "view" only so the correct data can be added to the correct person.

That is it; I hope someone can help me out. I have been working on this for sometime and just can't seem to get it.

Thanks, all, E-dub

View 8 Replies View Related

Many-to-one Relationship

Dec 7, 2006

Please pardon my inexperience.

I have two tables, call the tblSales and tblCustomers.

tblSales looks like this:

CustID FName LName ...
1 John Doe
2 Jane Doe
1 John Doe
1 John Doe
2 Jane Doe
2 Jane Doe

tblCustomers looks like this:

CustID FName LName
1 John Doe
2 Jane Doe

with CustID being the primary field.

Suppose that no data exists in the FName and LName columns of tblSales. How could I automatically populate those fields with data based on the information in tblCustomers? I would like to be able to simply type in the CustID on tblSales and have the other fields populate automatically.

I'm sure Access can do this, but how do I set it up!?

Thanks!

View 2 Replies View Related

What Relationship To Use

Feb 7, 2007

Hi all,

I have following problem so please help if you can.
I have three tables: Order Demands (from production), Order Demand Details and Orders (for placing by different suppliers).

ORDER DEMANDS
Order Demand No.(ID)
Date

ORDER DEMAND DETAILS
ID
Product
Quantity
Order Demand No.
Finished (checkbox)

ORDERS
Order No. (ID)
Date
Product
Quantity

Relationship between Order Demands and Order Demand Details is one-to-many. I have no relationship between Order Demands and Orders but it should be actually many-to-many relationship.

Following must be possible:
Order demands with specific details come from the production. It can be one item or several items (products) that are demanded. I must be able to place an order for one or more items (products) which are unfinished (not ordered till now) by selecting items. I must also be able to place an order independently from Order Demands for example because not all demands come from production department. After I have placed an order and the ordered products were supplied then I must be able to enter received products (maybe I do not get all ordered items) into Orders form for instance and this should check the field "Finished" in Order Demand Details table so that I know that I have received the products that are demanded from production department.

Do you have any suggestion how to organise relationships between tables.
Thanks for your assistance.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved