A Bit Confused With Tables And Relationships

Aug 11, 2006

Hello, ive done a bit of access before but ive got myself a bit confused on my next step.

I have a database of books that i loan out. I have a table containing the books instock. I want to be able to loan out book s and reserve books. The problem is whats the best way to do this? Should i have a form that allows me to click a button that takes the book out of the books instock list and adds it to the reserved list? The problem i see with this is when all the books had either been loaned or reserved then the books instock list would be empty and nobody could reserve anymore books which would be a vital floor. Does anyone have any ideas?

Thanks,
Marley.

View Replies


ADVERTISEMENT

Confused With Relationships

Aug 17, 2005

I am very new at doing Access database. I have read stuff on it but I just keep confusing myself. I am trying to build a master database that holds all information on our teachers. Such as staff development workshops attended, keys that have been issued to them and so on.

I have three tables. One has the teachers information such as name, ss#, address etc... The other table will have the staff development title and dates and the third table will be a key database.

I want to be able to open the database in a switchboard, which I have done before and be able to add information in a particular teacher's file such as keys issued or returned, staff workshop just attended.

I have attached a sample of what I have started. Could you lead me in the right direction? Thank you.

View 4 Replies View Related

:confused: Defining Tables :confused:

Oct 31, 2006

Hey guys i would really appricate some help

I have made severa databses before but im trying to make this one perfect and im curious, when defining tables should you include atributes about an entity that are static?

Its kind of hard to explain what i mean but for example in a shoe shop a staff member gets commision on what they sell (ie 5%) so when producing the table should a coloum be reserved for commision or should this be left out as it will be calculated later on in a querie and if so should i state this in the design section of my database?

any opinions would be greatly received as i have been reading books on sql and ERD's for days and havent been able to obtain any answers

cheers guys

mike

View 1 Replies View Related

Multiple Tables - I'm Confused

Nov 4, 2005

I have a couple of questions for someone who has a moment...

I'm a recruiter for the Marines and have been tasked with creating a way of tracking "sales" and "returns". I think I need 17 seperate tables (12 months, 4 qtrs and 1 annual) to store the data. How would I update the names and locations of each recruiter from one form? I apologize if this is a newby question, i tried to search but couldn't find anything that helped me.

In case it helps the sales would be in 10 differant categories and returns in 2.

Thanks in advance

Jim

View 5 Replies View Related

Combos And Tables - I'm Confused!

Dec 7, 2007

Ok I just cant get my head round this stuff!

I have created 2 tables
TBL_ObjectList contains data for objects in the night sky
e.g.
IDMessier_IDNGC_IDCommon_Name Type DistanceConstellation Apparent_Mag
1M1NGC 1952Crab NebulaSupernova remnant6.3Taurus9

TBL_Observations contains observing data where the Object field looks up the data in TBL_ObjectList
e.g.
ObservationIDObjectDateNotes
1M122/11/2007blah blah

I created a form FRM_Observations with a combo box to select the object e.g. M1 and it fills in the rest of the data for the object in the form.

My question is: How does this then relate to TBL_Observations?
When I switch to a new observation record the object selection stays at the one for the previous record.

I know this is probably basic stuff but I just cant see it.

Is there a simple online "how to" for this stuff? as I just cant seem to get to grips with it.

Many thanks for your patience :P

Paul
(No scripting knowledge)

View 12 Replies View Related

Confused About Number Of Tables Needed

Apr 22, 2006

I am trying to add a new dimension to my database and have a table for 'Committees'. There are several diferent committees overseeing different tasks, each commitee will have a CommitteeID, description, Date formed, Date disbanded and field called 'office'. The idea was that the DB user could open a form and amend or add a new 'committee' electing a chairman(Office) secretary, Vice Chairman etc. The members elected to the committee can only be members of the club i.e they already have a membership number, and their data is stored in the tblMembers. I tried using a sub form of committee members but cannot get it working I keep getting problems with duplicates etc. Members are 'autonumber' as is committee ID bearing in mind you can have 1 member on several committees, and each member can take a different office after a period of time etc. Im getting confused now which is the best way to set up the tables and indeed how many tables I really need to store committee, committee members etc. Ideally I would like a form that you can use record selectors for to find a committee and have a page (tab) to enter members relating to the committee displayed on the first page. I know this is about forms but I need to work the tables out first.

View 1 Replies View Related

Dazed Confused Building Tables

Nov 2, 2007

Good day,

In looking through the forum I am not finding what i need to do. I am sure the answer is on here, but perhaps I am not wording my search correctly. I apologize in advance if the answer is on here and I don't see it.

My problem is I don't know how exactly to begin.

I want to keep track of 11 rules and that could have 1 of 4 different things (violations, transfers, letter sent, referred out) could happen to each of those rules.

For example rule #1 I could have 10 that no violation occurred, 5 transfers, 1 letter sent and 2 letters sent as seen in the attached picture.


I created tables for each of the following: violations, transfers, letter sent, referred out.

Each of those tables has a fieldname for the 11 rules. How do I link all those tables together?

Hopefully I explained myself and i appreciate any help that I can.

Thank you

View 14 Replies View Related

Tables :: Setting Up Multiple Tables / Relationships

Dec 10, 2013

I have 5 tables and 2 forms. The primary form is what I input all the information into (Tracking) and the other form is to update employee information (update form).

The "Tracking" form is where I add information to 4 of the 5 tables. Here is where I'm stumbling. Would it be more practical to just have 1 table and just expand the fields, or have the form put the information into the separate tables. Those 4 tables are Employee, phone, spotter and radio.

I'm wanting to keep a running tally of who doesn't turn in what equipment on what day.

View 3 Replies View Related

Help With Tables Relationships

Nov 19, 2004

CompanyID pk (just one company)
CompName

EmployeeID pk
companyID fk
roomID fk
extensionID fk
LName
FName

LocationID pk
RoomNumber (many employees might share same room)

PhoneDirectoryID pk
ExtNumber (employees might share same extension number)
roomID fk

ItemID pk
ItmName (messengers take envelopes to different employees)
equipmentID fk
employeeID fk

EquipmentID PK
eqmtName (equipment might be used many times to deliver jobs)

I just need to know if the relationships for these tables are right.

If you need more information about this, please let me know.

View 9 Replies View Related

Relationships Between Several Tables!?!

Nov 30, 2004

I am converting / developing a database that stores information pertaining to individual birds and their recaptures over many years. Here is a condensed version of the many tables in this database:

tblIndividual Bird:
Autonumber (Primary Key)
Band Number - also, unique to the individual bird
Sex - M or F
etc ..

tblCaptureInformation:
Autonumber (Primary Key)
Band Number - look-up from tblIndividualBird (using hidden Primary Key)
Capture #- # which indicates what capture this is (ex. Intial capture - 1)
Place
Age
Date
etc ...

Each time a bird is captured, we record information pertaining to TIME, MEASUREMENTS, and NEST INFO. So, I have seperated the data based on these headings and made them into individual tables.

Now, my problem .... I have already created a relationship between CaptureInformation and Individual Bird. However, in the last 3 tables I would like to create a drop-down menu which shows the Band Number and Capture Number and make relationships there. What is the easiest way to do this? As of now, when I make a look-up field in the last 3 databases to show this info, the Band Number comes up with the Autonumber (because I am using the CaptureInfo table) which does not really help someone entering the data. Thanks for your help.

View 4 Replies View Related

Tables/Relationships

Nov 30, 2004

Hi,

I am trying to create a db for service orders for customers. At the moment I have four tables, customer, service_order, parts and totals.

I have one form for customer records that has a button that when clicked opens another form for that customer's service orders. The service order form has two subforms, one for parts and one for totals.

When I try to add a new service order for my test customer it says "you cannot add or change a record because a related record is required in the table 'customer'.

As you can see here (http://www.abstractmusic.org/relationships.gif) I have three relationships setup. cust_no in customer table is a PK and so is service_order_no in service_order table.

Also I am having problems with the totals, as the fields are from different tables the equations won't work from within the subform (I guess I need some kind of query). I need the totals in a seperate table other wise I have a total for every part entry.

Any help would MUCH appreciated.

Cheers

Housey

View 6 Replies View Related

Are My Tables And Relationships Set Up Right?

Mar 29, 2006

The attached application is what I need to design a form in Access around. Please see if i set up the tables correctly and the relationships. Thanks.

View 1 Replies View Related

What Relationships / Tables Should I Set Up

Sep 6, 2007

I am trying to set up a database to detail dances published in a magazine over the years.

I currently have all the information in an Excel Spreadsheet but know that Access would be better.

The columns in my spreadsheet are:

Dance
Choreographer(s)
Level
Count
Date Published
Song 1
Artist 1
Count In 1
Song 2
Artist 2
Count In 2
Song 3
Artist 3
Count In 3
Song 4
Artist 4
Count In 4
Song 5
Artist 5
Count In 5
Song 6
Artist 6
Count In 6
Song 7
Artist 7
Count In 7

There can be two or more dances with the same name
The same choreographer(s) could have written more than one dance
The same count can be used for many dances
About 15 dances are published on the same date
One artist can have more than one song used
One song can have more than one artist singing it
One song and relevant artist can be used for more than one dance

I tried using Access For Dummies but it has confused me even more. I cannot work out what tables there should be and what relationships.

Not all dances have 7 songs for it - some have 1, some 2, some 3, etc.

What is listed as song 4 for one dance could be song 1 for another or song 5, etc.

Any advice gratefully received!

Thanks in advance

Chris

View 14 Replies View Related

Tables And Relationships

Jan 31, 2008

I'm a novice and I'm confused. Maybe it's the way I think. I feel like there is an easier way that I'm overlooking, but I can't seem to get a satisfactory solution.How would YOU create your tables/relationships if you had the following:* The general purpose is to manage orders* You have to store information about the order (like order number, date)* You have to store information about from what company the order is from (like address)* You have to store information about from which department of that company the order comes from, each department has their own information that needs to be stored (like contact person).Keep in mind that you don't want to memorize which department is from which company nor do you want to be able to make the mistake of entering an order from a department that is not a part of that company.It seems like it should be an easy thing to do, but I'm stumped. I've thought about creating a new table for every company with a sub table for every department but that doesn't seem very practical. I tried creating one table called Company and one called Department, then merging them on a third table which is then linked to a fourth table called Orders. I'm not convinced this is the best way to do it, but it's my best guess at this moment.All help is greatly appreciated.

View 1 Replies View Related

Relationships Between Tables

Feb 10, 2008

I'm relatively new to Access so am unsure if i'm on the right lines with my system, but here goes:

The system should be able to have new records of students input, and their grades recorded.

At present I have it laid out as follows:

-tbl Pupil
--Pupil ID (pk)
--Surname
--Forename
--Year
--Address
--Phone Number
--Parent's e-mail

-tbl Present Grades
--Pupil ID
--Grade ID (pk)
--Subject
--Term
--Grade

-tbl Subjects
--Subject ID
--Name



Any advice on relationships between the tables would be appreciated. Thanks in advance.

View 1 Replies View Related

Tables With No Relationships

Oct 31, 2006

i know tecnically you can create a table with no relationships but is it "ok" to do so?

im using a table to store some values which are only referenced through a query but it is completly detatched and has no relationships with any other tables, im awear my database will function perfectlly happily but is it an acceptable programming standard?

cheers guys

mike

View 4 Replies View Related

Tables :: Multiple One-to-many Relationships Within Two Tables?

May 18, 2013

I am creating a database of medieval labor contracts and have come across an issue.

I have a table of Contracts, and a second table of People. I want the table of People to show every contract in which that person appears. Each contract has multiple roles - there is always at least a Laborer and an Employer.

The same person might appear as a laborer in one contract, and an employer in a second contract and I want my People table to pull every contract in which that person appears, regardless of the role they play in the contract.

So far I have not been able to get this to work. I set up two different one-to-many relationships which link the People table primary key (personID) to two separate columns in the contract table. However, in the People table, instead of pulling contracts in which the person appears as either Laborer or Employer, it will only pull contracts in which the person appears as both Laborer AND employer (a situation which will never occur in my actual data but which I tried out as a test).

View 2 Replies View Related

Tables :: Relationships Between Linked Tables

May 3, 2013

I have one database called asset management. It consists of one main table called cyber assets. Most fields in this table are linked to a manually created lookup table inorder to restrict user input. There are also two additional, none lookup, tables used to list a) the IP addresses (there can be more than one) and b) another similar 1 to many type table. Basically this DB is used to manage basic cyber asset data, excluding most items related to configuration management.

So, this above DB serves the purposes of asset management. Now I essentially need a similar DB for Patch Management. What I've done for this is to assess each patch initially (i.e. just by looking at the patch title and determining if we even have any of those device. i.e. this assessment is not based on OS, model number... just a general 'may' or 'may not' be applicable). Here's what this SEPARATE DB looked like:

Since each patch is essentially assessed against itself, or maybe a better way to describe it is against the users memory of what we do and don't have, only a single table and form was needed.

So now we've been thru this process and the DB is filled, all initial assessments are complete. The next step is to take all the ones that are applicable to our company (based on the initial assessment when you answer, yes is applicable) and do assessments based on each device we have.So what I want to do is to link the two DBs on a new table called Patches_by_device, inside the original patching DB... so the relationships would look like this:

But as you can see, the linked table CYBER_ASSETS has some sort of undefined relationship type, which is causing my issues.So the next thing I did was to autocreate a form based on the Patches_by_device table, and here's the result.I need to change the patch_key to the Patch_ID+Patch description+URL, etc, and to change the device key to the the UNID+IP+functional description, etc...so I changed the form record source like this:

Now I should be able to change the control source of the Patch_key and Device_key to more useful information. so I changed: Patch_key control source to Patch_ID and Device_key control source to UNID (which is in the cyber assets table)

As you can see, it worked for the patch_ID but not the UNID which is part of the linked table.Must it be within one DB, because we have a ton of other modules to implement (e.g. config management, vulnerability assessments, audit stuff, and more...) and I'd like all these to be in individual DBs, all liked back to the main cyber_assets/Asset management DB.I've considered just modifying that patch table so that each device has its own column heading in the table, but this will cause issues when new devices are added.

View 7 Replies View Related

Tables :: Two Tables / Multiple Relationships Possible?

Oct 4, 2013

I have three fields in one table that need to be related to the PK of another table.

tblProject - Engineer_ID, Producer_ID, and Project_Maner_ID
tblEmployee - Employee_ID (PK)

employees can take on any of the positions for a given project, so i'll need to have multiple employees filling up different roles for each project.

when i try to set up the relationships i get the following message:

A relationship already exists.

Do you want to edit the existing relationship? To create a new relationship, click No.

I click No, and it creates a table named tblEmployee_1. Why? is this ok?

View 2 Replies View Related

Tables :: Number Of Tables And Relationships

Jun 27, 2014

I want to build a Financial Database. We are provided a certain amount of budget under different heads each year. Every month we spend some money from some or all heads. Then we provide a detail of expenditure during the month under each head and the balance thereof. My request is how many tables I need in my database. My opinion is 5 tables each for Years, Months, Heads of Expenditure,Budget Allotted, and Expenditure.

View 1 Replies View Related

Relationships With Linked Tables

Jun 19, 2006

I have a database with a table on a shared network drive. The table contains a list of buildings, building details and a unique building code. I want to be able to use that database as a master copy so any new buildings that need to be added can be.
I have another database with accounts and another database with some other information. I can create a relationship between the accounts and the linked table of buildings (by the unique building code) but if I am to go into the building table, there is no "expansion option" to see all the accounts for that building. Is there a way to create a proper relationship or at least make a copy of the buildings table so that each time the database starts up it can get the latest version?

Thanks in advance,
Bob

View 2 Replies View Related

Import Tables That Have Relationships

Oct 14, 2004

Hello,

I know this has been asked a few times before, and I did search it, but could not find an adequate answer.

I want to use code (VBA) to import tables from a different Access database into the current one, by first deleting the current database tables, and then importing the new tables from the other database. I found code in the following thread that does exactly this:

http://www.access-programmers.co.uk/forums/showthread.php?t=74700&highlight=import+tables

However, the code in this example only appears to delete tables in the current database that have no relationships with each other before importing the outside tables. My tables, however, are rife with relationships and when i run this code, i get the message, "You cannot delete the table "tblWhatever", it is participating in one or more relationships." Can someone give me a pointer or two about how I can solve this problem (if at all) ?

Thanks in advance!

View 4 Replies View Related

Questions About Tables/relationships

Oct 6, 2006

My boss has assigned me the task of constructing what is basically a time tracking database. Employee info will include Employee ID, Name, Work Area, and Supervisor's name. Each day, employees will record the time they spend working on any of 40 different potential tasks for that day. The forty different tasks are split into five main categories, each with eight tasks. The boss wants each employee to be able to go into a form and/or subforms (haven't gotten that far yet!) and be able to record the amount of time they spent working on any given task for that particular day.

So, the tables would need to contain the Employee info mentioned above, the date, the 40 different potential tasks, and the time spent on each task for each day. I can't quite get my arms around how i should set up the tables, particularly where the date would go. Hope i was clear enough describing what I'm looking for. If not, let me know.

Thanks in advance for any suggestions!

View 3 Replies View Related

Building Relationships In Tables

Jun 19, 2007

Hey Guys

Great Forum and another newbie here

I have created an invoicing system for my business, as i was unhappy with MYOB.
Basically i have Product ID and Desciption in 1 table.
In another, called registry, this is where i input the data for the order.

What i basically want to do is?
When i type in the Product ID in the registry table, i want the description field to automatically appear in the cell next to it. As this would save a lot of time

Any help would be much appreciated

Thanks

Tarek

View 3 Replies View Related

Making Sure My Tables/relationships Are OK

Nov 13, 2007

Hello,

I'm creating a database for a home builder to track a lot of info, but mainly: house info, prospect info, actual customer info, and contract info.

My main tables are:
tblCustomers
CustID PK
(a bunch of customer fields)

tblHouses
HouseID PK
(a bunch of house fields)

tblContracts
ContractID PK
CustID FK
HouseID FK
(a bunch of contract fields)

The releationships are as follows:
One house can have many contracts
One customer can have many contracts

I thought I could use one table, tblCustomers, to track the prospect info and actual customer info, as so much of it will be identical (technically someone should be entered as a prospect before they can be a customer, and all info will be the same for both except for extra information fields for prospects, but I always want to be able to refer back to those fields) and I would know a prospect became an actual customer because at least one contract in the tblContracts would have their CustID associated with it.

Is it acceptable to have two foreign keys in tblContracts? And am I missing something that should exist between House and Customer? House and Customer are only releated when there is a Contract, so it is implied (I think) that a Customer can be associated with many different houses through many different contracts. Is that the right way to look at it?

I've come up against a wall regarding linking two forms so that the second form displays the data associated with what was showing on the first form. If I'm good here with the tables I suppose I'll post my detailed question in the forms area.

Thank you so much!:o
~Merissa

View 6 Replies View Related

Linked Tables And Relationships

Mar 19, 2008

Each employee has their own database containing a table of log in and out times.

The main database links to that table in each of the employess databases, a UNION query compiles all these tables.

Is it possible to have a create relationships with linked tables?

View 8 Replies View Related







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